|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.tuwien.ifs.somtoolbox.data.AbstractSOMLibSparseInputData
at.tuwien.ifs.somtoolbox.data.SOMLibSparseInputData
at.tuwien.ifs.somtoolbox.data.SOMLibSparseInputDataNames
public class SOMLibSparseInputDataNames
Reads just the data names from the Input file, the rest is discarded.
Field Summary |
---|
Fields inherited from class at.tuwien.ifs.somtoolbox.data.SOMLibSparseInputData |
---|
data, DEFAULT_NORMALISED, DEFAULT_NUM_CACHE_BLOCKS, DEFAULT_RANDOM_SEED, DEFAULT_SPARSE, INPUT_VECTOR_FILE_FORMAT_CORRUPT_MESSAGE, nonZeros, sparse |
Fields inherited from class at.tuwien.ifs.somtoolbox.data.AbstractSOMLibSparseInputData |
---|
classInfo, contentType, dataNames, dim, ERROR_MESSAGE_FILE_FORMAT_CORRUPT, featureMatrixCols, featureMatrixRows, isNormalized, meanVector, mqe0, nameCache, numVectors, rand, source, templateVector |
Fields inherited from interface at.tuwien.ifs.somtoolbox.data.InputData |
---|
inputFileNameSuffix, MISSING_VALUE |
Constructor Summary | |
---|---|
SOMLibSparseInputDataNames(java.lang.String vectorFileName)
|
Method Summary | |
---|---|
protected void |
processLine(int index,
java.lang.String[] lineElements)
Process a single line of the input vector file. |
Methods inherited from class at.tuwien.ifs.somtoolbox.data.SOMLibSparseInputData |
---|
addInstance, getDataAsMatrix, getDimensionality, getInputDatum, getInputVector, getValue, init, initDataStructures, initMatrix, main, mqe0, openFile, parse, parseDouble, readVectorFile, setLabel, setMatrixValue, subset |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SOMLibSparseInputDataNames(java.lang.String vectorFileName)
Method Detail |
---|
protected void processLine(int index, java.lang.String[] lineElements) throws java.lang.Exception
SOMLibSparseInputData
processLine
in class SOMLibSparseInputData
index
- the line indexlineElements
- the line elements, split by the delimeters
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |