| CategoricalEntailmentEnsembleClassifierEvaluateAccuracy Method |
Returns the accuracy of a predicted classification with respect
to an actual one.
Namespace:
Novacta.Analytics
Assembly:
Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax public static double EvaluateAccuracy(
CategoricalDataSet predictedDataSet,
int predictedResponseVariableIndex,
CategoricalDataSet actualDataSet,
int actualResponseVariableIndex
)
Public Shared Function EvaluateAccuracy (
predictedDataSet As CategoricalDataSet,
predictedResponseVariableIndex As Integer,
actualDataSet As CategoricalDataSet,
actualResponseVariableIndex As Integer
) As Double
public:
static double EvaluateAccuracy(
CategoricalDataSet^ predictedDataSet,
int predictedResponseVariableIndex,
CategoricalDataSet^ actualDataSet,
int actualResponseVariableIndex
)
static member EvaluateAccuracy :
predictedDataSet : CategoricalDataSet *
predictedResponseVariableIndex : int *
actualDataSet : CategoricalDataSet *
actualResponseVariableIndex : int -> float
Parameters
- predictedDataSet
- Type: Novacta.AnalyticsCategoricalDataSet
The data set containing the predicted classification.
- predictedResponseVariableIndex
- Type: SystemInt32
The zero-based index of the column
in predictedDataSet containing the
predictions about the response variable applied
for classifying.
- actualDataSet
- Type: Novacta.AnalyticsCategoricalDataSet
The data set containing the actual classification.
- actualResponseVariableIndex
- Type: SystemInt32
The zero-based index of the column
in actualDataSet containing the
observations about the response variable applied
for classifying.
Return Value
Type:
Double
The accuracy of a predicted classification with respect to an
actual one.
Exceptions See Also