Click or drag to resize

CategoricalEntailmentValidatePremises Method

Validates that the premises of this instance are satisfied by the categorical items in the specified data set.

Namespace:  Novacta.Analytics
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public IndexCollection ValidatePremises(
	CategoricalDataSet dataSet,
	IndexCollection featureVariableIndexes
)

Parameters

dataSet
Type: Novacta.AnalyticsCategoricalDataSet
The data set whose rows contain the specified items.
featureVariableIndexes
Type: Novacta.AnalyticsIndexCollection
The zero-based indexes of the data set columns containing information about the features involved in the premises.

Return Value

Type: IndexCollection
The collection of data set row indexes containing the items satisfying the premises of this instance.
Exceptions
ExceptionCondition
ArgumentNullExceptiondataSet is null.
-or-
featureVariableIndexes is null.
ArgumentOutOfRangeException At least an index in featureVariableIndexes is not a valid column index for dataSet.
ArgumentException The Count of featureVariableIndexes is not equal to the number of features defined by this instance.
Remarks

Let LaTeX equation be the Count of the FeaturePremises of this instance. It is expected that featureVariableIndexes has the same count, and that the LaTeX equation-th position of featureVariableIndexes, say LaTeX equation, is the index of the column that, in dataSet, contains observations about the same feature variable on which is built the LaTeX equation-th premise of this instance.

Given a data set row index LaTeX equation, let the LaTeX equation-th premise be represented by set LaTeX equation, where LaTeX equation is the domain of the corresponding feature, and let LaTeX equation be the category code of the LaTeX equation-th feature variable observed at the LaTeX equation-th item. Then index LaTeX equation is included in the returned collection if and only if the following condition holds true: LaTeX equation, for LaTeX equation.

See Also