Class ArrayEstimator
Useful static methods relating to array estimators
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class ArrayEstimator
  Methods
CreateEstimator<T, TDomain>(T, Boolean)
Create an estimator for a given distribution
Declaration
public static Estimator<T> CreateEstimator<T, TDomain>(T dist, bool accumDist)
    where T : IDistribution<TDomain>
  Parameters
| Type | Name | Description | 
|---|---|---|
| T | dist | The distribution  | 
      
| Boolean | accumDist | Whether the estimator should accumulate distributions or samples  | 
      
Returns
| Type | Description | 
|---|---|
| Estimator<T> | 
Type Parameters
| Name | Description | 
|---|---|
| T | Type of distribution  | 
      
| TDomain | Type of domain  | 
      
GetEstimatorType(Type, Boolean)
Get the estimator type for a distribution
Declaration
public static Type GetEstimatorType(Type distType, bool accumDist)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Type | distType | Distribution type  | 
      
| Boolean | accumDist | Accumulate distributions rather than samples  | 
      
Returns
| Type | Description | 
|---|---|
| Type |