类 IsotonicRegression

java.lang.Object
weka.classifiers.Classifier
weka.classifiers.functions.IsotonicRegression
所有已实现的接口:
Serializable, Cloneable, CapabilitiesHandler, OptionHandler, RevisionHandler, WeightedInstancesHandler

public class IsotonicRegression extends Classifier implements WeightedInstancesHandler
Learns an isotonic regression model. Picks the attribute that results in the lowest squared error. Missing values are not allowed. Can only deal with numeric attributes.Considers the monotonically increasing case as well as the monotonicallydecreasing case

Valid options are:

 -D
  If set, classifier is run in debug mode and
  may output additional info to the console
版本:
$Revision: 5523 $
作者:
Eibe Frank (eibe@cs.waikato.ac.nz)
另请参阅:
  • 构造器详细资料

    • IsotonicRegression

      public IsotonicRegression()
  • 方法详细资料

    • globalInfo

      public String globalInfo()
      Returns a string describing this classifier
      返回:
      a description of the classifier suitable for displaying in the explorer/experimenter gui
    • classifyInstance

      public double classifyInstance(Instance inst) throws Exception
      Generate a prediction for the supplied instance.
      覆盖:
      classifyInstance 在类中 Classifier
      参数:
      inst - the instance to predict.
      返回:
      the prediction
      抛出:
      Exception - if an error occurs
    • getCapabilities

      public Capabilities getCapabilities()
      Returns default capabilities of the classifier.
      指定者:
      getCapabilities 在接口中 CapabilitiesHandler
      覆盖:
      getCapabilities 在类中 Classifier
      返回:
      the capabilities of this classifier
      另请参阅:
    • buildClassifier

      public void buildClassifier(Instances insts) throws Exception
      Builds an isotonic regression model given the supplied training data.
      指定者:
      buildClassifier 在类中 Classifier
      参数:
      insts - the training data.
      抛出:
      Exception - if an error occurs
    • toString

      public String toString()
      Returns a description of this classifier as a string
      覆盖:
      toString 在类中 Object
      返回:
      a description of the classifier.
    • getRevision

      public String getRevision()
      Returns the revision string.
      指定者:
      getRevision 在接口中 RevisionHandler
      覆盖:
      getRevision 在类中 Classifier
      返回:
      the revision
    • main

      public static void main(String[] argv)
      Main method for testing this class
      参数:
      argv - options