Package moa.classifiers.rules
Class RuleClassification
- java.lang.Object
-
- moa.AbstractMOAObject
-
- moa.classifiers.rules.RuleClassification
-
- All Implemented Interfaces:
Serializable
,MOAObject
public class RuleClassification extends AbstractMOAObject
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected double
actualClassStatistics
protected DoubleVector
attributeMissingValues
protected DoubleVector
attributesProbability
protected DoubleVector
attributeStatistics
protected ArrayList<ArrayList<Double>>
attributeStatisticsSupervised
protected int
instancesSeen
protected int
instancesSeenTest
protected DoubleVector
obserClassDistrib
protected AutoExpandVector<AttributeClassObserver>
observers
protected AutoExpandVector<AttributeClassObserver>
observersGauss
protected double
PHmT
protected double
PHMT
protected ArrayList<Predicates>
predicateSet
protected boolean
reset
protected double
squaredActualClassStatistics
protected DoubleVector
squaredAttributeStatistics
protected ArrayList<ArrayList<Double>>
squaredAttributeStatisticsSupervised
protected double
ValorTargetRule
protected double[]
weightAttribute
protected double
XiSum
-
Constructor Summary
Constructors Constructor Description RuleClassification()
RuleClassification(RuleClassification x)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getDescription(StringBuilder sb, int indent)
Returns a string representation of this object.boolean
ruleEvaluate(Instance inst)
-
Methods inherited from class moa.AbstractMOAObject
copy, copy, measureByteSize, measureByteSize, toString
-
-
-
-
Field Detail
-
predicateSet
protected ArrayList<Predicates> predicateSet
-
observers
protected AutoExpandVector<AttributeClassObserver> observers
-
observersGauss
protected AutoExpandVector<AttributeClassObserver> observersGauss
-
squaredAttributeStatisticsSupervised
protected ArrayList<ArrayList<Double>> squaredAttributeStatisticsSupervised
-
weightAttribute
protected double[] weightAttribute
-
attributeStatistics
protected DoubleVector attributeStatistics
-
attributesProbability
protected DoubleVector attributesProbability
-
squaredAttributeStatistics
protected DoubleVector squaredAttributeStatistics
-
obserClassDistrib
protected DoubleVector obserClassDistrib
-
attributeMissingValues
protected DoubleVector attributeMissingValues
-
instancesSeen
protected int instancesSeen
-
instancesSeenTest
protected int instancesSeenTest
-
reset
protected boolean reset
-
actualClassStatistics
protected double actualClassStatistics
-
squaredActualClassStatistics
protected double squaredActualClassStatistics
-
PHmT
protected double PHmT
-
PHMT
protected double PHMT
-
XiSum
protected double XiSum
-
ValorTargetRule
protected double ValorTargetRule
-
-
Constructor Detail
-
RuleClassification
public RuleClassification(RuleClassification x)
-
RuleClassification
public RuleClassification()
-
-
Method Detail
-
ruleEvaluate
public boolean ruleEvaluate(Instance inst)
-
getDescription
public void getDescription(StringBuilder sb, int indent)
Description copied from interface:MOAObject
Returns a string representation of this object. Used inAbstractMOAObject.toString
to give a string representation of the object.- Parameters:
sb
- the stringbuilder to add the descriptionindent
- the number of characters to indent
-
-