|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
weka.gui.beans.BatchClustererEvent
public class BatchClustererEvent
Class encapsulating a built clusterer and a batch of instances to test on.
EventObject,
Serialized Form| Field Summary | |
|---|---|
static int |
TEST
|
static int |
TRAINING
|
| Constructor Summary | |
|---|---|
BatchClustererEvent(java.lang.Object source,
Clusterer scheme,
DataSetEvent tstI,
int setNum,
int maxSetNum,
int testOrTrain)
Creates a new BatchClustererEvent instance. |
|
| Method Summary | |
|---|---|
Clusterer |
getClusterer()
Get the clusterer |
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) |
int |
getTestOrTrain()
Get whether the set of instances is a test or a training set |
DataSetEvent |
getTestSet()
Get the training/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 |
| Field Detail |
|---|
public static int TEST
public static int TRAINING
| Constructor Detail |
|---|
public BatchClustererEvent(java.lang.Object source,
Clusterer scheme,
DataSetEvent tstI,
int setNum,
int maxSetNum,
int testOrTrain)
BatchClustererEvent instance.
source - the source objectscheme - a ClusterertstI - the training/test instancessetNum - the set number of the training/testinstancesmaxSetNum - the last set number in the seriestestOrTrain - 0 if the set is a test set, >0 if it is a training set| Method Detail |
|---|
public Clusterer getClusterer()
public DataSetEvent getTestSet()
public int getSetNumber()
public int getMaxSetNumber()
public int getTestOrTrain()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||