Documentation ¶ Overview ¶ Gaussian mixture Index ¶ type Model func (m *Model) Observe(x []float64) float64 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 Source Files ¶ View all Source files model.go Click to show internal directories. Click to hide internal directories.