Truncated {BayesFluxR} | R Documentation |
Truncates a Julia Distribution between 'lower' and 'upper'.
Truncated(dist, lower, upper)
dist |
A Julia Distribution created using |
lower |
lower bound |
upper |
upper bound |
see Gamma
## Not run:
## Needs previous call to `BayesFluxR_setup` which is time
## consuming and requires Julia and BayesFlux.jl
BayesFluxR_setup(installJulia=TRUE, seed=123)
net <- Chain(Dense(5, 1))
like <- likelihood.feedforward_normal(net, Truncated(Normal(0, 0.5), 0, Inf))
## End(Not run)