Gamma {BayesFluxR}R Documentation

Create a Gamma Prior

Description

Creates a Gamma prior in Julia using Distributions.jl

Usage

Gamma(shape = 2, scale = 2)

Arguments

shape

shape parameter

scale

scale parameter

Value

A list with the following content

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, Gamma(2.0, 0.5))

## End(Not run)


[Package BayesFluxR version 0.1.3 Index]