|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IterativeClassifier
Interface for classifiers that can induce models of growing complexity one step at a time.
Method Summary | |
---|---|
java.lang.Object |
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/cleanup |
void |
initClassifier(Instances instances)
Inits an iterative classifier. |
void |
next(int iteration)
Performs one iteration. |
Method Detail |
---|
void initClassifier(Instances instances) throws java.lang.Exception
instances
- the instances to be used in induction
java.lang.Exception
- if the model cannot be initializedvoid next(int iteration) throws java.lang.Exception
iteration
- the index of the current iteration (0-based)
java.lang.Exception
- if this iteration failsvoid done() throws java.lang.Exception
java.lang.Exception
- if cleanup failsjava.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |