C# Class numl.Unsupervised.GMM

A Generative Mixture Model.
ファイルを表示 Open project: sethjuarez/numl

Public Methods

Method Description
Generate ( IEnumerable examples, int k ) : void

Generates.

Generate ( Matrix X, int k ) : void

Generates.

Normal ( Vector x, Vector mu, Vector sigma ) : double

Compute probability according to multivariate Gaussian.

Private Methods

Method Description
pow ( double a, double d ) : double
sqrt ( double d ) : double

Method Details

Generate() public method

Generates.
Thrown when the requested operation is invalid.
public Generate ( IEnumerable examples, int k ) : void
examples IEnumerable The examples.
k int The int to process.
return void

Generate() public method

Generates.
public Generate ( Matrix X, int k ) : void
X Matrix The Matrix to process.
k int The int to process.
return void

Normal() public method

Compute probability according to multivariate Gaussian.
public Normal ( Vector x, Vector mu, Vector sigma ) : double
x numl.Math.LinearAlgebra.Vector Vector in question.
mu numl.Math.LinearAlgebra.Vector Mean.
sigma numl.Math.LinearAlgebra.Vector diag(covariance)
return double