Class TruncatedGaussianEstimator
Estimates a TruncatedGaussian distribution from samples.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class TruncatedGaussianEstimator : Estimator<TruncatedGaussian>, Accumulator<TruncatedGaussian>, SettableTo<TruncatedGaussianEstimator>, ICloneable
Constructors
TruncatedGaussianEstimator()
Creates a new TruncatedGaussian estimator
Declaration
public TruncatedGaussianEstimator()
Fields
maxUpperBound
Declaration
public double maxUpperBound
Field Value
| Type | Description |
|---|---|
| Double |
minLowerBound
Declaration
public double minLowerBound
Field Value
| Type | Description |
|---|---|
| Double |
mva
Where to accumulate means and variances
Declaration
public MeanVarianceAccumulator mva
Field Value
| Type | Description |
|---|---|
| MeanVarianceAccumulator |
Methods
Add(TruncatedGaussian)
Adds a TruncatedGaussian distribution item to the estimator
Declaration
public void Add(TruncatedGaussian distribution)
Parameters
| Type | Name | Description |
|---|---|---|
| TruncatedGaussian | distribution | The distribution instance to add |
Clear()
Clears the accumulator
Declaration
public void Clear()
Clone()
Returns a clone of this estimator.
Declaration
public object Clone()
Returns
| Type | Description |
|---|---|
| Object |
GetDistribution(TruncatedGaussian)
Computes the maximum-likelihood TruncatedGaussian from the samples.
Declaration
public TruncatedGaussian GetDistribution(TruncatedGaussian result)
Parameters
| Type | Name | Description |
|---|---|---|
| TruncatedGaussian | result |
Returns
| Type | Description |
|---|---|
| TruncatedGaussian | Returns a new TruncatedGaussian object. |
SetTo(TruncatedGaussianEstimator)
Sets the state of this estimator from the specified estimator.
Declaration
public void SetTo(TruncatedGaussianEstimator value)
Parameters
| Type | Name | Description |
|---|---|---|
| TruncatedGaussianEstimator | value |