|
|||||||||||
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
Event encapsulating a training set
Field Summary | |
protected int |
m_maxSetNumber
Maximum number of sets (ie 10 in a 10 fold) |
protected int |
m_setNumber
what number is this training set (ie fold 2 of 10 folds) |
protected Instances |
m_trainingSet
The training instances |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
TrainingSetEvent(java.lang.Object source,
Instances trainSet)
Creates a new TrainingSetEvent |
Method Summary | |
int |
getMaxSetNumber()
Get the maximum set number |
int |
getSetNumber()
Get the set number (eg. fold 2 of a 10 fold split) |
Instances |
getTrainingSet()
Get the training instances |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Instances m_trainingSet
protected int m_setNumber
protected int m_maxSetNumber
Constructor Detail |
public TrainingSetEvent(java.lang.Object source, Instances trainSet)
TrainingSetEvent
source
- the source of the eventtrainSet
- the training instancesMethod Detail |
public Instances getTrainingSet()
Instances
valuepublic int getSetNumber()
int
valuepublic int getMaxSetNumber()
int
value
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |