|
ID3LearningComputeError 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(
int[][] inputs,
int[] outputs
)
<ObsoleteAttribute("Please use the ZeroOneLoss class instead.")>
Public Function ComputeError (
inputs As Integer()(),
outputs As Integer()
) As Double
Request Example
View SourceParameters
- inputs
- Type: SystemInt32
The input points. - outputs
- Type: SystemInt32
The corresponding output labels.
Return Value
Type:
DoubleThe percentage error of the prediction.
See Also