matvil, 2 months ago Just a reminder how beautiful #julialang is. Albert-Chib Gibbs sampler for binary probit regression.
Just a reminder how beautiful #julialang is. Albert-Chib Gibbs sampler for binary probit regression.
exa, 2 months ago @matvil it is 💓 but might get 1 line more beautiful with a @. and/or ifelse (also probably a tiny bit faster for bigger data because the array wouldn't get 2 filtered writes but just 1 regular)
@matvil it is 💓 but might get 1 line more beautiful with a @. and/or ifelse
@.
ifelse
(also probably a tiny bit faster for bigger data because the array wouldn't get 2 filtered writes but just 1 regular)
Add comment