net.sf.myra.datamining.model
Class ProbabilisticRuleList
java.lang.Object
net.sf.myra.datamining.model.AbstractRuleModel
net.sf.myra.datamining.model.ProbabilisticRuleModel
net.sf.myra.datamining.model.ProbabilisticRuleList
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ProbabilisticRuleList>, Model, ProbabilisticModel
public class ProbabilisticRuleList
- extends ProbabilisticRuleModel
- implements java.lang.Comparable<ProbabilisticRuleList>
- Version:
- $Revision$ $Date:: $
- Author:
- Fernando Esteban Barril Otero
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ProbabilisticRuleList
public ProbabilisticRuleList()
getRules
public java.util.List<Rule> getRules()
- Overrides:
getRules
in class AbstractRuleModel
probabilities
public double[] probabilities(Instance instance)
- Specified by:
probabilities
in interface ProbabilisticModel
getConfidence
public java.lang.Comparable getConfidence()
- Returns the cost of this rule list.
- Returns:
- the cost of this rule list.
setConfidence
public void setConfidence(java.lang.Comparable confidence)
- Sets the confidence value of this rule list.
- Parameters:
confidence
- the confidence value to set.
compareTo
public int compareTo(ProbabilisticRuleList o)
- Specified by:
compareTo
in interface java.lang.Comparable<ProbabilisticRuleList>
Copyright © 2013. All Rights Reserved.