abstract class AbstractNormaliser extends SOMLibSparseInputData
Modifier and Type | Field and Description |
---|---|
protected java.io.BufferedWriter |
writer |
data, DEFAULT_NORMALISED, DEFAULT_NUM_CACHE_BLOCKS, DEFAULT_RANDOM_SEED, DEFAULT_SPARSE, INPUT_VECTOR_FILE_FORMAT_CORRUPT_MESSAGE, nonZeros, sparse
classInfo, contentType, dataNames, dim, ERROR_MESSAGE_FILE_FORMAT_CORRUPT, featureMatrixCols, featureMatrixRows, isNormalized, meanVector, mqe0, nameCache, numVectors, rand, source, templateVector
inputFileNameSuffix, MISSING_VALUE
Constructor and Description |
---|
AbstractNormaliser() |
Modifier and Type | Method and Description |
---|---|
void |
normalise(java.lang.String inputFileName,
java.lang.String outputFileName) |
abstract void |
postReading() |
abstract void |
preReading() |
addInstance, getDataAsMatrix, getDimensionality, getInputDatum, getInputVector, getValue, init, initDataStructures, initMatrix, main, mqe0, openFile, parse, parseDouble, processLine, readVectorFile, setLabel, setMatrixValue, setValue, subset
classInformation, 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, transformValues
public void normalise(java.lang.String inputFileName, java.lang.String outputFileName) throws java.io.IOException
java.io.IOException
public abstract void postReading() throws java.io.IOException
java.io.IOException
public abstract void preReading()