|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--weka.gui.beans.BatchClassifierEvent
Class encapsulating a built classifier and a batch of instances to test on.
EventObject
,
Serialized FormConstructor Summary | |
BatchClassifierEvent(java.lang.Object source,
Classifier scheme,
Instances tstI,
int setNum,
int maxSetNum)
Creates a new BatchClassifierEvent instance. |
Method Summary | |
Classifier |
getClassifier()
Get the classifier |
int |
getMaxSetNumber()
Get the maximum set number (ie the total number of training and testing sets in the series). |
int |
getSetNumber()
Get the set number (ie which fold this is) |
Instances |
getTestSet()
Get the test set |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BatchClassifierEvent(java.lang.Object source, Classifier scheme, Instances tstI, int setNum, int maxSetNum)
BatchClassifierEvent
instance.
source
- the source objectscheme
- a ClassifiertstI
- the test instancessetNum
- the set number of the test instancesmaxSetNum
- the last set number in the seriesMethod Detail |
public Classifier getClassifier()
public Instances getTestSet()
public int getSetNumber()
public int getMaxSetNumber()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London