|
C45LearningComputeError Method
|
Note: This API is now obsolete.
Computes the prediction error for the tree
over a given set of input and outputs.
Namespace:
Accord.MachineLearning.DecisionTrees.Learning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please use the ZeroOneLoss class instead.")]
public double ComputeError(
double[][] inputs,
int[] outputs
)
<ObsoleteAttribute("Please use the ZeroOneLoss class instead.")>
Public Function ComputeError (
inputs As Double()(),
outputs As Integer()
) As Double
Request Example
View SourceParameters
- inputs
- Type: SystemDouble
The input points. - outputs
- Type: SystemInt32
The corresponding output labels.
Return Value
Type:
DoubleThe percentage error of the prediction.
See Also