All Packages Class Hierarchy This Package Previous Next Index WEKA's home
Interface weka.classifiers.IterativeClassifier
- public interface IterativeClassifier
Interface for classifiers that can induce models of growing
complexity one step at a time.
- Author:
- 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).
-
done()
- Signal end of iterating, useful for any house-keeping/cleanup
-
initClassifier(Instances)
- Inits an iterative classifier.
-
next(int)
- Performs one iteration.
initClassifier
public abstract void initClassifier(Instances instances) throws Exception
- Inits an iterative classifier.
- Parameters:
- instances - the instances to be used in induction
- Throws: Exception
- if the model cannot be initialized
next
public abstract void next(int iteration) throws Exception
- Performs one iteration.
- Parameters:
- iteration - the index of the current iteration (0-based)
- Throws: Exception
- if this iteration fails
done
public abstract void done() throws Exception
- Signal end of iterating, useful for any house-keeping/cleanup
- Throws: Exception
- if cleanup fails
clone
public abstract Object clone() throws CloneNotSupportedException
- Performs a deep copy of the classifier, and a reference copy
of the training instances (or a deep copy if required).
- Returns:
- a clone of the classifier
- Overrides:
- clone in class Object
All Packages Class Hierarchy This Package Previous Next Index WEKA's home