|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
weka.gui.beans.TrainingSetEvent
public class TrainingSetEvent
Event encapsulating a training set
Constructor Summary | |
---|---|
TrainingSetEvent(java.lang.Object source,
Instances trainSet)
Creates a new TrainingSetEvent |
|
TrainingSetEvent(java.lang.Object source,
Instances trainSet,
int setNum,
int maxSetNum)
Creates a new TrainingSetEvent |
|
TrainingSetEvent(java.lang.Object source,
Instances trainSet,
int runNum,
int maxRunNum,
int setNum,
int maxSetNum)
Creates a new TrainingSetEvent |
Method Summary | |
---|---|
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 set number (eg. |
Instances |
getTrainingSet()
Get the training instances |
boolean |
isStructureOnly()
Returns true if the encapsulated instances contain just header information |
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 TrainingSetEvent(java.lang.Object source, Instances trainSet)
TrainingSetEvent
source
- the source of the eventtrainSet
- the training instancespublic TrainingSetEvent(java.lang.Object source, Instances trainSet, int setNum, int maxSetNum)
TrainingSetEvent
source
- the source of the eventtrainSet
- the training instancessetNum
- the number of the training setmaxSetNum
- the maximum number of setspublic TrainingSetEvent(java.lang.Object source, Instances trainSet, int runNum, int maxRunNum, int setNum, int maxSetNum)
TrainingSetEvent
source
- the source of the eventtrainSet
- the training instancesrunNum
- the run number that the training set belongs tomaxRunNum
- the maximum run numbersetNum
- the number of the training setmaxSetNum
- the maximum number of setsMethod Detail |
---|
public Instances getTrainingSet()
Instances
valuepublic int getRunNumber()
public int getMaxRunNumber()
public int getSetNumber()
int
valuepublic int getMaxSetNumber()
int
valuepublic boolean isStructureOnly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |