-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better data types #120
Comments
Similarly, with Link functions also. We should have a parent and child system. |
The |
We have a parent and child system for Link. |
We are using @model LinearRegression(X, y) = begin
p = size(X, 2)
#priors
a0 = 0.1
b0 = 0.1
v ~ InverseGamma(h, h)
σ ~ InverseGamma(a0, b0)
#α ~ Laplace(0, σ * v)
β ~ filldist(Laplace(0, σ * v), p)
#likelihood
#y ~ MvNormal(α .+ X * β, σ)
y ~ MvNormal(X * β, σ)
end |
Instead of
Prior_Cauchy
Prior_Gauss
, etcWe should have
Later on, you can have a
function(::Prior)
, and you won't have to define it for every kind of Prior likefunction(::Prior_Cauchy)
,function(::Prior_Gauss)
, etc.The text was updated successfully, but these errors were encountered: