Closed rikhuijzer closed 1 year ago
Currently, multiple tutorials use a deprecated MvNormal constructor (deprecated in https://github.com/JuliaStats/Distributions.jl/pull/1362).
MvNormal
julia> using Distributions julia> MvNormal([1], 1.0) # Old constructor. ┌ Warning: `MvNormal(μ::AbstractVector{<:Real}, σ::Real)` is deprecated, use `MvNormal(μ, σ ^ 2 * I)` instead. │ caller = ip:0x0 └ @ Core :-1 IsoNormal( dim: 1 μ: [1.0] Σ: [1.0] ) julia> I = Distributions.I; julia> MvNormal([1], 1.0^2 * I) # New constructor. IsoNormal( dim: 1 μ: [1.0] Σ: [1.0] )
The usage of the old constructor has to be removed in the following tutorials:
Currently, multiple tutorials use a deprecated
MvNormal
constructor (deprecated in https://github.com/JuliaStats/Distributions.jl/pull/1362).The usage of the old constructor has to be removed in the following tutorials:
01 - Gaussian mixture modelFixed in https://github.com/TuringLang/TuringTutorials/pull/29303 - Bayesian neural networkFixed in https://github.com/TuringLang/TuringTutorials/pull/32505 - Linear regressionFixed in https://github.com/TuringLang/TuringTutorials/pull/32509 - Variational inferenceFixed in https://github.com/TuringLang/TuringTutorials/pull/32510 - Bayesian differential equationsFixed in #296