类 DMNBtext.DNBBinary

java.lang.Object
weka.classifiers.bayes.DMNBtext.DNBBinary
所有已实现的接口:
Serializable
封闭类:
DMNBtext

public class DMNBtext.DNBBinary extends Object implements Serializable
另请参阅:
  • 构造器详细资料

    • DNBBinary

      public DNBBinary()
  • 方法详细资料

    • initClassifier

      public void initClassifier(Instances instances) throws Exception
      抛出:
      Exception
    • updateClassifier

      public void updateClassifier(Instance ins) throws Exception
      抛出:
      Exception
    • getLogProbForTargetClass

      public double getLogProbForTargetClass(Instance ins) throws Exception
      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

      public double[] distributionForInstance(Instance instance) throws Exception
      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

      public String toString()
      Returns a string representation of the classifier.
      覆盖:
      toString 在类中 Object
      返回:
      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