类 DMNBtext.DNBBinary
java.lang.Object
weka.classifiers.bayes.DMNBtext.DNBBinary
- 所有已实现的接口:
Serializable
- 封闭类:
- DMNBtext
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明double[]
distributionForInstance
(Instance instance) Calculates the class membership probabilities for the given test instance.double
Calculates the class membership probabilities for the given test instance.int
Gets the Target Classvoid
initClassifier
(Instances instances) void
setTargetClass
(int targetClass) Sets the Target ClasstoString()
Returns a string representation of the classifier.void
updateClassifier
(Instance ins)
-
构造器详细资料
-
DNBBinary
public DNBBinary()
-
-
方法详细资料
-
initClassifier
- 抛出:
Exception
-
updateClassifier
- 抛出:
Exception
-
getLogProbForTargetClass
Calculates the class membership probabilities for the given test instance.- 参数:
instance
- the instance to be classified- 返回:
- predicted class probability distribution
- 抛出:
Exception
- if there is a problem generating the prediction
-
distributionForInstance
Calculates the class membership probabilities for the given test instance.- 参数:
instance
- the instance to be classified- 返回:
- predicted class probability distribution
- 抛出:
Exception
- if there is a problem generating the prediction
-
toString
Returns a string representation of the classifier. -
setTargetClass
public void setTargetClass(int targetClass) Sets the Target Class -
getTargetClass
public int getTargetClass()Gets the Target Class- 返回:
- the Target Class Index
-