|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.myra.datamining.util.FlatCrossValidation.Partition
public static class FlatCrossValidation.Partition
This class represents a partition (fold) of the cross-validation.
Constructor Summary | |
---|---|
FlatCrossValidation.Partition(int fold)
Creates a new partition. |
Method Summary | |
---|---|
void |
add(Instance instance)
Adds the specified instance to this partition. |
int |
getFold()
Returns the partition fold number. |
java.util.List<Instance> |
getInstances()
Returns the partition instance list. |
int |
getSize()
Returns the partition size. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FlatCrossValidation.Partition(int fold)
fold
- the partition fold number.Method Detail |
---|
public void add(Instance instance)
instance
- the instance to be added.public int getSize()
public java.util.List<Instance> getInstances()
public int getFold()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |