|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.framework.Trail
net.sf.myra.framework.DefaultTrail
net.sf.myra.datamining.Rule
net.sf.myra.datamining.ProbabilisticRule
public class ProbabilisticRule
Constructor Summary | |
---|---|
ProbabilisticRule(int size,
Label prototype)
Creates a new Rule instance. |
|
ProbabilisticRule(Metadata metadata)
Default constructor. |
Method Summary | |
---|---|
ProbabilisticRule |
clone()
|
boolean |
equals(java.lang.Object o)
|
Label |
getConsequent()
Returns the rule consequent. |
double[] |
getProbabiblities()
Returns the class probability array. |
void |
setConsequent(Label consequent)
Sets the rule consequent. |
void |
setProbabiblities(double[] probabiblities)
Sets the class probability array. |
java.lang.String |
toString()
|
Methods inherited from class net.sf.myra.datamining.Rule |
---|
add, getAntecedent, getConfidence, isCovered, remove, setConfidence |
Methods inherited from class net.sf.myra.framework.DefaultTrail |
---|
getLast, getVertices, isEmpty |
Methods inherited from class net.sf.myra.framework.Trail |
---|
getCost, getIteration, getSize, setCost, setIteration |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ProbabilisticRule(Metadata metadata)
metadata
- public ProbabilisticRule(int size, Label prototype)
Rule
instance.
size
- the maximum size of the rule antecedent.prototype
- the label prototype instance.Method Detail |
---|
public final Label getConsequent()
Rule
getConsequent
in class Rule
public final void setConsequent(Label consequent)
Rule
setConsequent
in class Rule
consequent
- the rule consequent to set.public double[] getProbabiblities()
public void setProbabiblities(double[] probabiblities)
probabiblities
- the class probabiblity array to set.public java.lang.String toString()
toString
in class Rule
public ProbabilisticRule clone()
clone
in class Rule
public boolean equals(java.lang.Object o)
equals
in class Rule
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |