Class ArrayEstimator<T>
Static class which implements useful functions on estimator arrays.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public static class ArrayEstimator<T>
Type Parameters
Name | Description |
---|---|
T |
Methods
Array<TEstArray, TEstimator>(TEstimator[], Type[])
Creates an estimator over an array domain from an estimator array over the elements.
Declaration
public static TEstArray Array<TEstArray, TEstimator>(TEstimator[] array, Type[] estArrTypes)
where TEstimator : Estimator<T>
Parameters
Type | Name | Description |
---|---|---|
TEstimator[] | array | The estimator of each element. |
Type[] | estArrTypes | Types of estimator array at each depth |
Returns
Type | Description |
---|---|
TEstArray | A single estimator object over the array domain. |
Type Parameters
Name | Description |
---|---|
TEstArray | Type of estimator array |
TEstimator | Estimator type for an array element. |
Array<TEstArray, TEstimator>(TEstimator[][], Type[])
Creates an estimator over an array domain from independent estimators over the elements.
Declaration
public static TEstArray Array<TEstArray, TEstimator>(TEstimator[][] array, Type[] estArrTypes)
where TEstimator : Estimator<T>
Parameters
Type | Name | Description |
---|---|---|
TEstimator[][] | array | The estimator of each element. |
Type[] | estArrTypes | Types of estimator array at each depth |
Returns
Type | Description |
---|---|
TEstArray | A single estimator object over the array domain. |
Type Parameters
Name | Description |
---|---|
TEstArray | Type of estimator array |
TEstimator | Estimator type for an array element. |
Array<TEstArray, TEstimator>(TEstimator[][][], Type[])
Creates an estimator over an array domain from independent estimators over the elements.
Declaration
public static TEstArray Array<TEstArray, TEstimator>(TEstimator[][][] array, Type[] estArrTypes)
where TEstimator : Estimator<T>
Parameters
Type | Name | Description |
---|---|---|
TEstimator[][][] | array | The estimator of each element. |
Type[] | estArrTypes | Types of estimator array at each depth |
Returns
Type | Description |
---|---|
TEstArray | A single estimator object over the array domain. |
Type Parameters
Name | Description |
---|---|
TEstArray | Type of estimator array |
TEstimator | Estimator type for an array element. |
Array<TEstArray, TEstimator>(TEstimator[][,], Type[])
Creates an estimator over an array domain from independent estimators over the elements.
Declaration
public static TEstArray Array<TEstArray, TEstimator>(TEstimator[][, ] array, Type[] estArrTypes)
where TEstimator : Estimator<T>
Parameters
Type | Name | Description |
---|---|---|
TEstimator[][,] | array | The estimator of each element. |
Type[] | estArrTypes | Types of estimator array at each depth |
Returns
Type | Description |
---|---|
TEstArray | A single estimator object over the array domain. |
Type Parameters
Name | Description |
---|---|
TEstArray | Type of estimator array |
TEstimator | Estimator type for an array element. |
Array<TEstArray, TEstimator>(TEstimator[,], Type[])
Creates an estimator over an array domain from independent estimators over the elements.
Declaration
public static TEstArray Array<TEstArray, TEstimator>(TEstimator[, ] array, Type[] estArrTypes)
where TEstimator : Estimator<T>
Parameters
Type | Name | Description |
---|---|---|
TEstimator[,] | array | The estimator of each element. |
Type[] | estArrTypes | Types of estimator array at each depth |
Returns
Type | Description |
---|---|
TEstArray | A single estimator object over the array domain. |
Type Parameters
Name | Description |
---|---|
TEstArray | Type of estimator array |
TEstimator | Estimator type for an array element. |
Array<TEstArray, TEstimator>(TEstimator[,][], Type[])
Creates an estimator over an array domain from independent estimators over the elements.
Declaration
public static TEstArray Array<TEstArray, TEstimator>(TEstimator[, ][] array, Type[] estArrTypes)
where TEstimator : Estimator<T>
Parameters
Type | Name | Description |
---|---|---|
TEstimator[,][] | array | The estimator of each element. |
Type[] | estArrTypes | Types of estimator array at each depth |
Returns
Type | Description |
---|---|
TEstArray | A single estimator object over the array domain. |
Type Parameters
Name | Description |
---|---|
TEstArray | Type of estimator array |
TEstimator | Estimator type for an array element. |
Array<TEstArray, TEstimator>(Int32, Converter<Int32, TEstimator>, Type[])
Creates an estimator over an array domain from an estimator over the elements.
Declaration
public static TEstArray Array<TEstArray, TEstimator>(int length, Converter<int, TEstimator> init, Type[] estArrTypes)
where TEstimator : Estimator<T>
Parameters
Type | Name | Description |
---|---|---|
Int32 | length | The length of the array. |
Converter<Int32, TEstimator> | init | A function providing the estimator of each array element. |
Type[] | estArrTypes | Types of estimator array at each depth |
Returns
Type | Description |
---|---|
TEstArray | A single estimator object over the array domain. |
Type Parameters
Name | Description |
---|---|
TEstArray | Type of estimator array |
TEstimator | Estimator type for an array element. |
Array<TEstArray, TEstimator>(Int32, Int32, Func<Int32, Int32, TEstimator>, Type[])
Creates an estimator over an array domain from independent estimators over the elements.
Declaration
public static TEstArray Array<TEstArray, TEstimator>(int length1, int length2, Func<int, int, TEstimator> init, Type[] estArrTypes)
where TEstimator : Estimator<T>
Parameters
Type | Name | Description |
---|---|---|
Int32 | length1 | The first dimension of the array. |
Int32 | length2 | The second dimension of the array. |
Func<Int32, Int32, TEstimator> | init | A function providing the estimator of each array element. |
Type[] | estArrTypes | Types of estimator array at each depth |
Returns
Type | Description |
---|---|
TEstArray | A single estimator object over the array domain. |
Type Parameters
Name | Description |
---|---|
TEstArray | Type of estimator array |
TEstimator | Estimator type for an array element. |