|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
weka.gui.beans.BatchClassifierEvent
public class BatchClassifierEvent
Class encapsulating a built classifier and a batch of instances to test on.
EventObject,
Serialized Form| Constructor Summary | |
|---|---|
BatchClassifierEvent(java.lang.Object source,
Classifier scheme,
DataSetEvent trsI,
DataSetEvent 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) |
DataSetEvent |
getTestSet()
Get the test set |
DataSetEvent |
getTrainSet()
Get the train 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,
DataSetEvent trsI,
DataSetEvent tstI,
int setNum,
int maxSetNum)
BatchClassifierEvent instance.
source - the source objectscheme - a ClassifiertrsI - the training instances used to train the classifiertstI - the test instancessetNum - the set number of the test instancesmaxSetNum - the last set number in the series| Method Detail |
|---|
public Classifier getClassifier()
public DataSetEvent getTestSet()
public DataSetEvent getTrainSet()
public int getSetNumber()
public int getMaxSetNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||