|
||||||||||
| 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. |
|
BatchClassifierEvent(java.lang.Object source,
Classifier scheme,
DataSetEvent trsI,
DataSetEvent tstI,
int runNum,
int maxRunNum,
int setNum,
int maxSetNum)
Creates a new BatchClassifierEvent instance. |
|
| Method Summary | |
|---|---|
Classifier |
getClassifier()
Get the classifier |
long |
getGroupIdentifier()
|
int |
getMaxRunNumber()
Get the maximum run number |
int |
getMaxSetNumber()
Get the maximum set number (ie the total number of training and testing sets in the series). |
int |
getRunNumber()
Get the run number. |
int |
getSetNumber()
Get the set number (ie which fold this is) |
DataSetEvent |
getTestSet()
Get the test set |
DataSetEvent |
getTrainSet()
Get the train set |
void |
setClassifier(Classifier classifier)
Set the classifier |
void |
setGroupIdentifier(long identifier)
|
void |
setTestSet(DataSetEvent tse)
Set the test set |
void |
setTrainSet(DataSetEvent tse)
Set the training 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
public BatchClassifierEvent(java.lang.Object source,
Classifier scheme,
DataSetEvent trsI,
DataSetEvent tstI,
int runNum,
int maxRunNum,
int setNum,
int maxSetNum)
BatchClassifierEvent instance.
source - the source objectscheme - a ClassifiertrsI - the training instances used to train the classifiertstI - the test instancesrunNum - the run numbermaxRunNum - the maximum run numbersetNum - the set number of the test instancesmaxSetNum - the last set number in the series| Method Detail |
|---|
public Classifier getClassifier()
public void setClassifier(Classifier classifier)
classifier - the classifierpublic void setTestSet(DataSetEvent tse)
tse - the test setpublic DataSetEvent getTestSet()
public void setTrainSet(DataSetEvent tse)
tse - the training setpublic DataSetEvent getTrainSet()
public int getRunNumber()
public int getMaxRunNumber()
public int getSetNumber()
public int getMaxSetNumber()
public void setGroupIdentifier(long identifier)
public long getGroupIdentifier()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||