|
||||||||||
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.ESOMInputData
public class ESOMInputData
Reads a input data file in the ESOM format. For details on the file-format specification, see http://databionic-esom.sourceforge.net/user.html#File_formats.
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 | |
---|---|
ESOMInputData(java.lang.String vectorFileName)
|
Method Summary | |
---|---|
static java.lang.String |
getFileNameSuffix()
|
static java.lang.String |
getFormatName()
|
protected void |
readVectorFile(java.lang.String vectorFileName,
boolean sparse)
Reads the input data from the given file, which has to follow the Input Vector File specification. |
Methods inherited from class at.tuwien.ifs.somtoolbox.data.SOMLibSparseInputData |
---|
addInstance, getDataAsMatrix, getDimensionality, getInputDatum, getInputVector, getValue, init, initDataStructures, initMatrix, main, mqe0, openFile, parse, parseDouble, processLine, setLabel, setMatrixValue, subset |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ESOMInputData(java.lang.String vectorFileName)
Method Detail |
---|
protected void readVectorFile(java.lang.String vectorFileName, boolean sparse)
SOMLibSparseInputData
AbstractSOMLibSparseInputData.meanVector
and creates the
AbstractSOMLibSparseInputData.nameCache
for faster index search.
readVectorFile
in class SOMLibSparseInputData
vectorFileName
- the name of the input vector file.public static java.lang.String getFileNameSuffix()
public static java.lang.String getFormatName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |