infergo: bitbucket.org/dtolpin/infergo/dist/ad Index | Files

package dist

import "bitbucket.org/dtolpin/infergo/dist/ad"

Index

Package Files

dist.go

Variables

var Beta beta
var Cauchy cauchy
var D d
var Expon expon
var Gamma gamma
var Normal normal

type Categorical Uses

type Categorical struct {
    N int
}
var Cat Categorical

func (Categorical) Logp Uses

func (dist Categorical) Logp(
    alpha []float64, y float64,
) float64

func (Categorical) Logps Uses

func (dist Categorical) Logps(
    alpha []float64, y ...float64,
) float64

func (Categorical) Observe Uses

func (dist Categorical) Observe(x []float64) float64

type Dirichlet Uses

type Dirichlet struct {
    N int
}
var Dir Dirichlet

func (Dirichlet) Logp Uses

func (dist Dirichlet) Logp(alpha []float64, y []float64) float64

func (Dirichlet) Logps Uses

func (dist Dirichlet) Logps(alpha []float64, y ...[]float64) float64

func (Dirichlet) Observe Uses

func (dist Dirichlet) Observe(x []float64) float64

Package dist imports 4 packages (graph). Updated 2019-07-24. Refresh now. Tools for package owners.