at.tuwien.ifs.somtoolbox.data.normalisation
Class AbstractNormaliser

java.lang.Object
  extended by at.tuwien.ifs.somtoolbox.data.AbstractSOMLibSparseInputData
      extended by at.tuwien.ifs.somtoolbox.data.SOMLibSparseInputData
          extended by at.tuwien.ifs.somtoolbox.data.normalisation.AbstractNormaliser
All Implemented Interfaces:
InputData
Direct Known Subclasses:
MinMaxNormaliser, StandardScoreNormaliser, UnitLengthNormaliser

abstract class AbstractNormaliser
extends SOMLibSparseInputData

Version:
$Id: AbstractNormaliser.java 3587 2010-05-21 10:35:33Z mayer $
Author:
Rudolf Mayer

Field Summary
protected  BufferedWriter writer
           
 
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
AbstractNormaliser()
           
 
Method Summary
 void normalise(String inputFileName, String outputFileName)
           
abstract  void postReading()
           
abstract  void preReading()
           
 
Methods inherited from class at.tuwien.ifs.somtoolbox.data.SOMLibSparseInputData
addInstance, getDimensionality, getInputDatum, getInputVector, getValue, init, initDataStructures, initMatrix, main, mqe0, openFile, parseDouble, processLine, readVectorFile, setLabel, setMatrixValue, subset
 
Methods inherited from class at.tuwien.ifs.somtoolbox.data.AbstractSOMLibSparseInputData
classInformation, create, dim, equals, getByNameDistanceSorted, getContentSubType, getContentType, getData, getData, getDataIntervals, getDataSource, getDistanceMatrix, getDistances, getFeatureDensities, getFeatureMatrixColumns, getFeatureMatrixRows, getFileNameSuffix, getFormatName, getInputDatum, getInputDatum, getInputDatumIndex, getLabel, getLabels, getMeanVector, getMeanVector, getNearestN, getNearestN, getNearestNUnsorted, getRandomInputDatum, initDistanceMatrix, isNormalizedToUnitLength, numVectors, setClassInfo, setTemplateVector, templateVector, transformValues
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

writer

protected BufferedWriter writer
Constructor Detail

AbstractNormaliser

AbstractNormaliser()
Method Detail

normalise

public void normalise(String inputFileName,
                      String outputFileName)
               throws IOException
Throws:
IOException

postReading

public abstract void postReading()
                          throws IOException
Throws:
IOException

preReading

public abstract void preReading()