public class BatchClassifierEvent
extends java.util.EventObject
EventObject
,
Serialized FormConstructor and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
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
|
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 seriespublic 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 seriespublic 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()