程序包 weka.classifiers

接口 IterativeClassifier

所有已知实现类:
ADTree

public interface IterativeClassifier
Interface for classifiers that can induce models of growing complexity one step at a time.
版本:
$Revision: 1.3 $
作者:
Gabi Schmidberger (gabi@cs.waikato.ac.nz), Bernhard Pfahringer (bernhard@cs.waikato.ac.nz)
  • 方法概要

    修饰符和类型
    方法
    说明
    Performs a deep copy of the classifier, and a reference copy of the training instances (or a deep copy if required).
    void
    Signal end of iterating, useful for any house-keeping/cleanup
    void
    Inits an iterative classifier.
    void
    next(int iteration)
    Performs one iteration.
  • 方法详细资料

    • initClassifier

      void initClassifier(Instances instances) throws Exception
      Inits an iterative classifier.
      参数:
      instances - the instances to be used in induction
      抛出:
      Exception - if the model cannot be initialized
    • next

      void next(int iteration) throws Exception
      Performs one iteration.
      参数:
      iteration - the index of the current iteration (0-based)
      抛出:
      Exception - if this iteration fails
    • done

      void done() throws Exception
      Signal end of iterating, useful for any house-keeping/cleanup
      抛出:
      Exception - if cleanup fails
    • clone

      Performs a deep copy of the classifier, and a reference copy of the training instances (or a deep copy if required).
      返回:
      a clone of the classifier
      抛出:
      CloneNotSupportedException