|
|||||||||||
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.InstanceSet | +--edu.uiuc.ge.illigal.gale.data.FileInstanceSet
This class contains the Sample Memory obtained from a file. The information must be separated with some delimiter, and each sample must appear on a different row.
Field Summary | |
protected java.util.Date |
dateFTS
Date of successful read |
protected java.util.Date |
dateSTS
Date of successful read |
protected edu.uiuc.ge.illigal.gale.config.GALEConfiguration |
galeCnf
GALE Environment configuration object |
Fields inherited from class edu.uiuc.ge.illigal.gale.data.InstanceSet |
attSet, fsInstances, iSize, sRelation |
Constructor Summary | |
FileInstanceSet(edu.uiuc.ge.illigal.gale.config.GALEConfiguration galeCnf,
java.lang.String sFileName)
Initialize a InstaceSet from the file specified by the String information that it receives. |
Method Summary | |
protected void |
computeBounds()
Checks the Sample Bounds. |
static void |
main(java.lang.String[] sArgs)
|
protected void |
processHeaderLine(java.lang.String sLine)
Processes a line of the header of the arff file |
java.lang.String |
toString()
Converts the sample into a string readable format. |
Methods inherited from class edu.uiuc.ge.illigal.gale.data.InstanceSet |
attributeSet, getInstance, getRelationName, getSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected edu.uiuc.ge.illigal.gale.config.GALEConfiguration galeCnf
protected java.util.Date dateSTS
protected java.util.Date dateFTS
Constructor Detail |
public FileInstanceSet(edu.uiuc.ge.illigal.gale.config.GALEConfiguration galeCnf, java.lang.String sFileName) throws java.lang.Exception
galeCnf
- Contains the GALE configurationsFileName
- Contains the file name for the instance set
java.lang.Exception
- The file could not be loadedMethod Detail |
protected void processHeaderLine(java.lang.String sLine) throws java.lang.Exception
sLine
- the line to be processed
java.lang.Exception
- corrupted instance foundprotected void computeBounds() throws java.lang.Exception
java.lang.Exception
- corrupted instance foundpublic java.lang.String toString()
toString
in class InstanceSet
public static void main(java.lang.String[] sArgs)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |