|
||||||||||
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.database.VectorFile2DatabaseImporter.InputVectorImporter
private class VectorFile2DatabaseImporter.InputVectorImporter
This class customises the handling of data read from the file by storing it in the DB.
Field Summary | |
---|---|
private MySQLConnector |
dbConnector
|
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, content_subtype, content_type, 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 | |
---|---|
VectorFile2DatabaseImporter.InputVectorImporter(String inputVectorFile,
MySQLConnector dbConnector)
|
Method Summary | |
---|---|
protected void |
processLine(int documentIndex,
String[] lineElements)
Stores the information read in the database. |
Methods inherited from class at.tuwien.ifs.somtoolbox.data.SOMLibSparseInputData |
---|
addInstance, getDimensionality, getInputDatum, getInputVector, getValue, init, initDataStructures, initMatrix, main, mqe0, openFile, parseDouble, readVectorFile, setLabel, setMatrixValue, subset |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private MySQLConnector dbConnector
Constructor Detail |
---|
public VectorFile2DatabaseImporter.InputVectorImporter(String inputVectorFile, MySQLConnector dbConnector)
Method Detail |
---|
protected void processLine(int documentIndex, String[] lineElements) throws Exception
processLine
in class SOMLibSparseInputData
documentIndex
- the line indexlineElements
- the line elements, split by the delimeters
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |