|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.uiuc.ge.illigal.gale.data.FoldView
This class is a folder view for cross-validation over a certain set
Field Summary | |
private edu.uiuc.ge.illigal.gale.data.Instance[] |
insa
The array of instances |
private int |
iSize
The number of instances in the view |
Constructor Summary | |
FoldView(java.util.Vector vec,
java.util.Random rnd)
Builds a view over the vector given. |
Method Summary | |
edu.uiuc.ge.illigal.gale.data.Instance |
getInstance(int iPos)
Returns the instance for the given position |
int |
getSize()
Returns the number of instances in the OrderedSet |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private edu.uiuc.ge.illigal.gale.data.Instance[] insa
private int iSize
Constructor Detail |
public FoldView(java.util.Vector vec, java.util.Random rnd)
vec
- The ordered set that contains the datarnd
- The random number generatorMethod Detail |
public edu.uiuc.ge.illigal.gale.data.Instance getInstance(int iPos)
OrderedSet
getInstance
in interface OrderedSet
iPos
- Index of the requested instance
public int getSize()
OrderedSet
getSize
in interface OrderedSet
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |