public class EqualDistanceSettings extends java.lang.Object implements DiscretizationSettings
APIUtils.discretize(DiscretizationSettings, double[], double[])
Constructor and Description |
---|
EqualDistanceSettings(int intervalCount,
boolean logUsed)
Create settings for the equal distance algorithm providing the number of intervals we want to obtain.
|
Modifier and Type | Method and Description |
---|---|
APIUtils.DISCRETIZATION |
getDiscretization()
Return a
DISCRETIZATION indicating the discretization algorithm to use |
int |
getIntervalCount() |
boolean |
isLogUsed() |
public EqualDistanceSettings(int intervalCount, boolean logUsed)
logUsed
intervalCount
- the number of intervalslogUsed
- indicates if the data have to be converted into log before discretizationpublic APIUtils.DISCRETIZATION getDiscretization()
DiscretizationSettings
DISCRETIZATION
indicating the discretization algorithm to usegetDiscretization
in interface DiscretizationSettings
public int getIntervalCount()
public boolean isLogUsed()