C# Class Accord.Statistics.Distributions.Univariate.UnivariateContinuousDistribution

Inheritance: DistributionBase, IDistribution, IUnivariateDistribution
Datei anzeigen 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 x ) : double

Gets the cumulative distribution function (cdf) for the this distribution evaluated at point x.

The Cumulative Distribution Function (CDF) describes the cumulative probability that a given value or any value smaller than it will occur.

Fit ( double observations ) : IDistribution

Fits the underlying distribution to a given set of observations.

Fit ( double observations, double weights ) : IDistribution

Fits the underlying distribution to a given set of observations.

ProbabilityDensityFunction ( double x ) : 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.

Private Methods

Method Description
IDistribution ( Array observations ) : IDistribution

Fits the underlying distribution to a given set of observations.

Although both double[] and double[][] arrays are supported, providing a double[] for a multivariate distribution or a double[][] for a univariate distribution may have a negative impact in performance.

IDistribution ( Array observations, double weights ) : IDistribution

Fits the underlying distribution to a given set of observations.

Although both double[] and double[][] arrays are supported, providing a double[] for a multivariate distribution or a double[][] for a univariate distribution may have a negative impact in performance.

IDistribution ( ) : 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 abstract method

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

DistributionFunction() public abstract method

Gets the cumulative distribution function (cdf) for the this distribution evaluated at point x.
The Cumulative Distribution Function (CDF) describes the cumulative probability that a given value or any value smaller than it will occur.
public abstract DistributionFunction ( double x ) : double
x double /// A single point in the distribution range.
return double

Fit() public method

Fits the underlying distribution to a given set of observations.
public Fit ( double observations ) : IDistribution
observations double /// The array of observations to fit the model against. ///
return IDistribution

Fit() public abstract method

Fits the underlying distribution to a given set of observations.
public abstract 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

ProbabilityDensityFunction() public abstract 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 abstract ProbabilityDensityFunction ( double x ) : double
x double /// A single point in the distribution range.
return double