public CategoricalEntailmentEnsembleOptimizationContext(
Func<DoubleMatrix, double> objectiveFunction,
List<int> featureCategoryCounts,
int numberOfResponseCategories,
int numberOfCategoricalEntailments,
bool allowEntailmentPartialTruthValues,
double probabilitySmoothingCoefficient,
OptimizationGoal optimizationGoal,
int minimumNumberOfIterations,
int maximumNumberOfIterations
)
Public Sub New (
objectiveFunction As Func(Of DoubleMatrix, Double),
featureCategoryCounts As List(Of Integer),
numberOfResponseCategories As Integer,
numberOfCategoricalEntailments As Integer,
allowEntailmentPartialTruthValues As Boolean,
probabilitySmoothingCoefficient As Double,
optimizationGoal As OptimizationGoal,
minimumNumberOfIterations As Integer,
maximumNumberOfIterations As Integer
)
public:
CategoricalEntailmentEnsembleOptimizationContext(
Func<DoubleMatrix^, double>^ objectiveFunction,
List<int>^ featureCategoryCounts,
int numberOfResponseCategories,
int numberOfCategoricalEntailments,
bool allowEntailmentPartialTruthValues,
double probabilitySmoothingCoefficient,
OptimizationGoal optimizationGoal,
int minimumNumberOfIterations,
int maximumNumberOfIterations
)
new :
objectiveFunction : Func<DoubleMatrix, float> *
featureCategoryCounts : List<int> *
numberOfResponseCategories : int *
numberOfCategoricalEntailments : int *
allowEntailmentPartialTruthValues : bool *
probabilitySmoothingCoefficient : float *
optimizationGoal : OptimizationGoal *
minimumNumberOfIterations : int *
maximumNumberOfIterations : int -> CategoricalEntailmentEnsembleOptimizationContext
It is assumed that the objectiveFunction will accept row vectors as valid representations of an argument.
As discussed by Rubinstein and Kroese, Remark 5.2, p. 189[1], typical values for probabilitySmoothingCoefficient are between .7 and 1 (excluded).
ArgumentNullException | objectiveFunction is null. -or- featureCategoryCounts is null. |
ArgumentException | optimizationGoal is not a field of
OptimizationGoal. -or- minimumNumberOfIterations is greater than maximumNumberOfIterations. |
ArgumentOutOfRangeException | probabilitySmoothingCoefficient is not
in the open interval between 0 and 1. -or- featureCategoryCounts is empty. -or- featureCategoryCounts has negative or zero entries. -or- numberOfCategoricalEntailments is not positive. -or- minimumNumberOfIterations is not positive. -or- maximumNumberOfIterations is not positive. |