public abstract class Decision extends Object implements Serializable
NumericDecision
,
CategoricalDecision
,
Serialized FormModifier and Type | Method and Description |
---|---|
abstract boolean |
getDefaultDecision() |
int |
getFeatureNumber() |
abstract FeatureType |
getType() |
abstract boolean |
isPositive(Example example) |
abstract String |
toString() |
public final int getFeatureNumber()
Decision
operates onpublic abstract boolean isPositive(Example example)
example
- example to evaluate Decision
onDecision
is positive on this examplepublic abstract boolean getDefaultDecision()
Decision
cannot be evaluated
on an Example
because the feature value it decides on is missingpublic abstract FeatureType getType()
Decision
is over (a FeatureType
)Copyright © 2014–2018. All rights reserved.