public class TestSetEvent extends EventObject
| Constructor and Description |
|---|
TestSetEvent(Object source,
Instances testSet)
Creates a new
TestSetEvent |
TestSetEvent(Object source,
Instances testSet,
int setNum,
int maxSetNum)
Creates a new
TestSetEvent |
TestSetEvent(Object source,
Instances testSet,
int runNum,
int maxRunNum,
int setNum,
int maxSetNum)
Creates a new
TestSetEvent |
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxRunNumber()
Get the maximum number of runs.
|
int |
getMaxSetNumber()
Get the maximum set number
|
int |
getRunNumber()
Get the run number that this training set belongs to.
|
int |
getSetNumber()
Get the test set number (eg.
|
Instances |
getTestSet()
Get the test set instances
|
boolean |
isStructureOnly()
Returns true if the encapsulated instances
contain just header information
|
getSource, toStringpublic TestSetEvent(Object source, Instances testSet)
TestSetEventsource - the source of the eventtestSet - the test instancespublic TestSetEvent(Object source, Instances testSet, int setNum, int maxSetNum)
TestSetEventsource - the source of the eventtestSet - the test instancessetNum - the number of the test setmaxSetNum - the maximum number of setspublic TestSetEvent(Object source, Instances testSet, int runNum, int maxRunNum, int setNum, int maxSetNum)
TestSetEventsource - the source of the eventtestSet - the test instancesrunNum - the run number that the test set belongs tomaxRunNum - the maximum run numbersetNum - the number of the test setmaxSetNum - the maximum number of setspublic Instances getTestSet()
Instances valuepublic int getRunNumber()
public int getMaxRunNumber()
public int getSetNumber()
int valuepublic int getMaxSetNumber()
int valuepublic boolean isStructureOnly()
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.