|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.bayes.DMNBtext.DNBBinary
public class DMNBtext.DNBBinary
| Constructor Summary | |
|---|---|
DMNBtext.DNBBinary()
|
|
| Method Summary | |
|---|---|
double[] |
distributionForInstance(Instance instance)
Calculates the class membership probabilities for the given test instance. |
double |
getLogProbForTargetClass(Instance ins)
Calculates the class membership probabilities for the given test instance. |
int |
getTargetClass()
Gets the Target Class |
void |
initClassifier(Instances instances)
|
void |
setTargetClass(int targetClass)
Sets the Target Class |
java.lang.String |
toString()
Returns a string representation of the classifier. |
void |
updateClassifier(Instance ins)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DMNBtext.DNBBinary()
| Method Detail |
|---|
public void initClassifier(Instances instances)
throws java.lang.Exception
java.lang.Exception
public void updateClassifier(Instance ins)
throws java.lang.Exception
java.lang.Exception
public double getLogProbForTargetClass(Instance ins)
throws java.lang.Exception
instance - the instance to be classified
java.lang.Exception - if there is a problem generating the prediction
public double[] distributionForInstance(Instance instance)
throws java.lang.Exception
instance - the instance to be classified
java.lang.Exception - if there is a problem generating the predictionpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setTargetClass(int targetClass)
public int getTargetClass()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||