Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

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: Double
The split information for the given partitions.
See Also