public class DecisionTreeSettings extends java.lang.Object implements TargetedDiscretizationSettings
APIUtils.discretize(TargetedDiscretizationSettings, double[], double[], short[])
Constructor and Description |
---|
DecisionTreeSettings(int intervalCount)
Create an instance of the settings providing the wanted number of intervals.
|
Modifier and Type | Method and Description |
---|---|
APIUtils.DISCRETIZATION |
getDiscretization()
Return a
DISCRETIZATION indicating the discretization algorithm to use |
int |
getIntervalCount() |
public DecisionTreeSettings(int intervalCount)
intervalCount
- the number of intervalspublic APIUtils.DISCRETIZATION getDiscretization()
DiscretizationSettings
DISCRETIZATION
indicating the discretization algorithm to usegetDiscretization
in interface DiscretizationSettings
public int getIntervalCount()