Back to

Package model

Latest Go to latest

The latest major version is .

Published: Jul 27, 2020 | License: MIT | Module:


Inferring parameters of the Normal distribution from observations


type Model

type Model struct {
	Data []float64

data are the observations

func (*Model) Observe

func (m *Model) Observe(x []float64) float64

x[0] is the mean, x[1] is the log stddev of the distribution

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier