model

package
v0.0.0-...-2a7e3b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Gaussian mixture

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Data  []float64 // samples
	NComp int       // number of components
	Alpha float64   // Dirichlet diffusion
	Tau   float64   // precision of prior on odds
}

data are the observations

func (*Model) Observe

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL