Package weka.classifiers.rules
Class JRip.NumericAntd
java.lang.Object
weka.classifiers.rules.JRip.Antd
weka.classifiers.rules.JRip.NumericAntd
- All Implemented Interfaces:
Serializable
,Copyable
,RevisionHandler
,WeightedInstancesHandler
- Enclosing class:
- JRip
The antecedent with numeric attribute
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class weka.classifiers.rules.JRip.Antd
getAccu, getAccuRate, getAttr, getAttrValue, getCover, getMaxInfoGain
-
Constructor Details
-
NumericAntd
Constructor
-
-
Method Details
-
getSplitPoint
public double getSplitPoint()Get split point of this numeric antecedent- Returns:
- the split point of this numeric antecedent
-
copy
Implements Copyable -
splitData
Implements the splitData function. This procedure is to split the data into two bags according to the information gain of the numeric attribute value The maximum infoGain is also calculated. -
covers
Whether the instance is covered by this antecedent -
toString
Prints this antecedent -
getRevision
Returns the revision string.- Specified by:
getRevision
in interfaceRevisionHandler
- Overrides:
getRevision
in classJRip.Antd
- Returns:
- the revision
-