public class ManualDiscretizer extends AbstractDiscretizer
The new target of these classes will be its average value
The lower class's lower boundary might be adapted during fit to include the minimum value
A new upper class might be created during fit to include the max values
| Constructor and Description |
|---|
ManualDiscretizer(Double... classBoundaries)
Creates the discretizer by specifying upper class boundaries
|
ManualDiscretizer(Integer... classBoundaries)
Creates the discretizer by specifying upper class boundaries
|
| Modifier and Type | Method and Description |
|---|---|
protected List<DiscretizationTransition> |
fitCreateTransitions(Serializable[] values,
Double[] labels)
Fits on the data
|
apply, fit, fit, getDiscretizationTransitionsFromCutPoints, getTransitionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, getTransitionpublic ManualDiscretizer(Double... classBoundaries)
classBoundaries - the upper class boundaries to be usedpublic ManualDiscretizer(Integer... classBoundaries)
classBoundaries - the upper class boundaries to be usedprotected List<DiscretizationTransition> fitCreateTransitions(Serializable[] values, Double[] labels)
AbstractDiscretizerfitCreateTransitions in class AbstractDiscretizervalues - the values to be fitted onlabels - the labels. != null, iff supervisedCollection containing the DiscretizationTransitionsCopyright © 2019 viadee Unternehmensberatung AG. All rights reserved.