InverseGamma {BayesFluxR} | R Documentation |
Create an Inverse-Gamma Prior
Description
Creates and Inverse Gamma prior in Julia using Distributions.jl
Usage
InverseGamma(shape = 2, scale = 2)
Arguments
shape |
shape parameter |
scale |
scale parameter |
Value
A list with the following content
juliavar - julia variable containing the distribution
juliacode - julia code used to create the distribution
See Also
Examples
## 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, InverseGamma(2.0, 0.5))
## End(Not run)
[Package BayesFluxR version 0.1.3 Index]