|
|||||||||||
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.CVView
This class is a view over a certain InstanceMemory.
Field Summary | |
protected int[] |
iac
The thresholds for the sample recovery |
protected int |
iSize
The number of instances in the view (calculated field) |
protected edu.uiuc.ge.illigal.gale.data.OrderedSet[] |
osac
The CVView sets |
protected edu.uiuc.ge.illigal.gale.data.OrderedSet[] |
osaData
The folds for cross-validation |
Constructor Summary | |
CVView(edu.uiuc.ge.illigal.gale.data.OrderedSet[] osa,
int iFold)
Builds a view over the OrderSet 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 |
protected edu.uiuc.ge.illigal.gale.data.OrderedSet[] osaData
protected int iSize
protected edu.uiuc.ge.illigal.gale.data.OrderedSet[] osac
protected int[] iac
Constructor Detail |
public CVView(edu.uiuc.ge.illigal.gale.data.OrderedSet[] osa, int iFold)
osa
- The folds for cross-validationiFold
- The folder to leave outMethod 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 |