dm.mine
Class OLAPRuleLearn.Rule
java.lang.Object
|
+--dm.mine.OLAPRuleLearn.Rule
- Enclosing class:
- OLAPRuleLearn
- public class OLAPRuleLearn.Rule
- extends java.lang.Object
Internal class to represents a data mining rule
Constructor Summary |
OLAPRuleLearn.Rule(double support,
double confidence,
java.util.Map condition_dim_vals,
java.lang.Integer consequent)
Rule constructor |
Method Summary |
java.lang.String |
toString()
Convert this rule to String format |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_df
public java.text.DecimalFormat _df
- Static data members
_dSupport
public double _dSupport
- Data members
_dConf
public double _dConf
_alDims
public java.util.ArrayList _alDims
_alDimValues
public java.util.ArrayList _alDimValues
_nConseq
public java.lang.Integer _nConseq
_sConseqLabel
public java.lang.String _sConseqLabel
OLAPRuleLearn.Rule
public OLAPRuleLearn.Rule(double support,
double confidence,
java.util.Map condition_dim_vals,
java.lang.Integer consequent)
- Rule constructor
- Parameters:
support
- Support value for this ruleconfidence
- Confidence value for this ruleant_dims
- Antecedent dimension indicesant_vals
- Antecedent value selections (match dims)conseq_label
- Consequent label (database column)consequent
- Consequent value
toString
public java.lang.String toString()
- Convert this rule to String format
- Overrides:
toString
in class java.lang.Object
- Returns:
- String version of this rule