C# Class Accord.Statistics.Distributions.Multivariate.NormalDistribution

Inheritance: MultivariateContinuousDistribution
显示文件 Open project: atosorigin/Kinect Class Usage Examples

Public Methods

Method Description
Clone ( ) : object

Creates a new object that is a copy of the current instance.

DistributionFunction ( ) : double

This method is not supported.

Fit ( double observations, double weights ) : IDistribution

Fits the underlying distribution to a given set of observations.

Generate ( int samples ) : double[][]

Generates a random vector of observations from the current distribution.

NormalDistribution ( double mean, double covariance ) : System

Constructs a multivariate Gaussian distribution with given mean vector and covariance matrix.

NormalDistribution ( int dimension ) : System

Constructs a multivariate Gaussian distribution with zero mean vector and unitary variance matrix.

ProbabilityDensityFunction ( ) : double

Gets the probability density function (pdf) for this distribution evaluated at point x.

The Probability Density Function (PDF) describes the probability that a given value x will occur.

Method Details

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object

DistributionFunction() public method

This method is not supported.
public DistributionFunction ( ) : double
return double

Fit() public method

Fits the underlying distribution to a given set of observations.
public Fit ( double observations, double weights ) : IDistribution
observations double /// The array of observations to fit the model against. ///
weights double /// The weight vector containing the weight for each of the samples. ///
return IDistribution

Generate() public method

Generates a random vector of observations from the current distribution.
public Generate ( int samples ) : double[][]
samples int The number of samples to generate.
return double[][]

NormalDistribution() public method

Constructs a multivariate Gaussian distribution with given mean vector and covariance matrix.
public NormalDistribution ( double mean, double covariance ) : System
mean double
covariance double
return System

NormalDistribution() public method

Constructs a multivariate Gaussian distribution with zero mean vector and unitary variance matrix.
public NormalDistribution ( int dimension ) : System
dimension int
return System

ProbabilityDensityFunction() public method

Gets the probability density function (pdf) for this distribution evaluated at point x.
The Probability Density Function (PDF) describes the probability that a given value x will occur.
public ProbabilityDensityFunction ( ) : double
return double