程序包 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)
-
方法概要
修饰符和类型方法说明clone()
Performs a deep copy of the classifier, and a reference copy of the training instances (or a deep copy if required).void
done()
Signal end of iterating, useful for any house-keeping/cleanupvoid
initClassifier
(Instances instances) Inits an iterative classifier.void
next
(int iteration) Performs one iteration.
-
方法详细资料
-
initClassifier
Inits an iterative classifier.- 参数:
instances
- the instances to be used in induction- 抛出:
Exception
- if the model cannot be initialized
-
next
Performs one iteration.- 参数:
iteration
- the index of the current iteration (0-based)- 抛出:
Exception
- if this iteration fails
-
done
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
-