public class UnitLengthNormaliser extends AbstractNormaliser
writerdata, DEFAULT_NORMALISED, DEFAULT_NUM_CACHE_BLOCKS, DEFAULT_RANDOM_SEED, DEFAULT_SPARSE, INPUT_VECTOR_FILE_FORMAT_CORRUPT_MESSAGE, nonZeros, sparseclassInfo, contentType, dataNames, dim, ERROR_MESSAGE_FILE_FORMAT_CORRUPT, featureMatrixCols, featureMatrixRows, isNormalized, meanVector, mqe0, nameCache, numVectors, rand, source, templateVectorinputFileNameSuffix, MISSING_VALUE| Constructor and Description |
|---|
UnitLengthNormaliser() |
| Modifier and Type | Method and Description |
|---|---|
void |
postReading() |
void |
preReading() |
protected void |
processLine(int index,
java.lang.String[] lineElements)
Process a single line of the input vector file.
|
normaliseaddInstance, getDataAsMatrix, getDimensionality, getInputDatum, getInputVector, getValue, init, initDataStructures, initMatrix, main, mqe0, openFile, parse, parseDouble, readVectorFile, setLabel, setMatrixValue, setValue, subsetclassInformation, create, dim, equals, getByNameDistanceSorted, getContentType, getData, getData, getDataIntervals, getDataSource, getDistanceMatrix, getDistances, getFeatureDensities, getFeatureMatrixColumns, getFeatureMatrixRows, getFileNameSuffix, getFormatName, getInputDatum, getInputDatum, getInputDatumIndex, getLabel, getLabels, getMaxValue, getMeanVector, getMeanVector, getMinValue, getNearestDistances, getNearestN, getNearestN, getNearestNUnsorted, getRandomInputDatum, initDistanceMatrix, isNormalizedToUnitLength, numVectors, setClassInfo, setTemplateVector, templateVector, transformValuesprotected void processLine(int index,
java.lang.String[] lineElements)
throws java.lang.Exception
SOMLibSparseInputDataprocessLine in class SOMLibSparseInputDataindex - the line indexlineElements - the line elements, split by the delimetersjava.lang.Exceptionpublic void preReading()
preReading in class AbstractNormaliserpublic void postReading()
postReading in class AbstractNormaliser