C# 클래스 Accord.Statistics.Distributions.Univariate.GeneralDiscreteDistribution

상속: UnivariateDiscreteDistribution
파일 보기 프로젝트 열기: atosorigin/Kinect 1 사용 예제들

공개 메소드들

메소드 설명
Clone ( ) : object

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

DistributionFunction ( int 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.

Fit ( double observations, double weights ) : IDistribution

Fits the underlying distribution to a given set of observations.

GeneralDiscreteDistribution ( ) : System

Constructs a new generic discrete distribution.

GeneralDiscreteDistribution ( int start ) : System

Constructs a new generic discrete distribution.

GeneralDiscreteDistribution ( int start, int symbols ) : System

Constructs a new uniform discrete distribution.

ProbabilityMassFunction ( int x ) : double

Gets the probability mass function (pmf) for this distribution evaluated at point x.

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

메소드 상세

Clone() 공개 메소드

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

DistributionFunction() 공개 메소드

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 DistributionFunction ( int x ) : double
x int /// A single point in the distribution range. For a /// univariate distribution, this should be a single /// double value. For a multivariate distribution, /// this should be a double array.
리턴 double

Fit() 공개 메소드

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. ///
리턴 IDistribution

GeneralDiscreteDistribution() 공개 메소드

Constructs a new generic discrete distribution.
public GeneralDiscreteDistribution ( ) : System
리턴 System

GeneralDiscreteDistribution() 공개 메소드

Constructs a new generic discrete distribution.
public GeneralDiscreteDistribution ( int start ) : System
start int /// The integer value where the distribution starts, also /// known as the offset value. Default value is 0.
리턴 System

GeneralDiscreteDistribution() 공개 메소드

Constructs a new uniform discrete distribution.
public GeneralDiscreteDistribution ( int start, int symbols ) : System
start int /// The integer value where the distribution starts, also /// known as the offset value. Default value is 0.
symbols int /// The number of discrete values within the distribution. /// The distribution is assumed to belong to the interval /// [start, start + symbols].
리턴 System

ProbabilityMassFunction() 공개 메소드

Gets the probability mass function (pmf) for this distribution evaluated at point x.
The Probability Mass Function (PMF) describes the probability that a given value x will occur.
public ProbabilityMassFunction ( int x ) : double
x int /// A single point in the distribution range.
리턴 double