Click or drag to resize

CategoricalEntailmentEnsembleClassifierAdd Method

Adds to this instance a CategoricalEntailment object having the specified premises on feature variables, derived response category, and truth value.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public void Add(
	IList<SortedSet<double>> featurePremises,
	double responseConclusion,
	double truthValue
)

Parameters

featurePremises
Type: System.Collections.GenericIListSortedSetDouble
The list of premises the entailment defines about its FeatureVariables.
responseConclusion
Type: SystemDouble
The category of ResponseVariable derived by the entailment when its FeaturePremises are satisfied.
truthValue
Type: SystemDouble
The eventually partial truth value assigned to the entailment.
Exceptions
ExceptionCondition
ArgumentNullExceptionfeaturePremises is null.
ArgumentOutOfRangeExceptiontruthValue is negative.
-or-
truthValue is greater than unity.
ArgumentExceptionfeaturePremises has not the same Count of the FeatureVariables of this instance.
-or-
Some set in featurePremises contains a value which is not a category code in the corresponding variable of FeatureVariables.
Remarks

A premise can be empty, but in such case it is represented as matching the corresponding feature domain. Equivalently, a premise which is not a nonempty proper subset of the domain is always valid for every item in the feature space.

See Also