CategoricalEntailmentValidatePremises Method |
Namespace: Novacta.Analytics
public IndexCollection ValidatePremises( CategoricalDataSet dataSet, IndexCollection featureVariableIndexes )
Exception | Condition |
---|---|
ArgumentNullException | dataSet 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. |
Let be the Count of the FeaturePremises of this instance. It is expected that featureVariableIndexes has the same count, and that the -th position of featureVariableIndexes, say , is the index of the column that, in dataSet, contains observations about the same feature variable on which is built the -th premise of this instance.
Given a data set row index , let the -th premise be represented by set , where is the domain of the corresponding feature, and let be the category code of the -th feature variable observed at the -th item. Then index is included in the returned collection if and only if the following condition holds true: , for .