Back to godoc.org

Package model

v0.8.6
Latest Go to latest

The latest major version is .

Published: Jul 27, 2020 | License: MIT | Module: bitbucket.org/dtolpin/infergo

Overview

Inferring parameters of the Normal distribution from observations

Index

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