|
DecisionTreeLearningBaseSplitInformation Method
|
Computes the split information measure.
Namespace:
Accord.MachineLearning.DecisionTrees.Learning
Assembly:
Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax public static double SplitInformation(
int samples,
IList<int>[] partitions,
List<int> missing = null
)
Public Shared Function SplitInformation (
samples As Integer,
partitions As IList(Of Integer)(),
Optional missing As List(Of Integer) = Nothing
) As Double
Request Example
View SourceParameters
- samples
- Type: SystemInt32
The total number of samples. - partitions
- Type: System.Collections.GenericIListInt32
The partitioning. - missing (Optional)
- Type: System.Collections.GenericListInt32
An extra partition containing only missing values.
Return Value
Type:
DoubleThe split information for the given partitions.
See Also