37 #ifndef GRT_SOM_QUANTIZER_HEADER
38 #define GRT_SOM_QUANTIZER_HEADER
41 #include "../../CoreModules/FeatureExtraction.h"
42 #include "../../ClusteringModules/SelfOrganizingMap/SelfOrganizingMap.h"
43 #include "../../DataStructures/TimeSeriesClassificationData.h"
44 #include "../../DataStructures/ClassificationDataStream.h"
45 #include "../../DataStructures/UnlabelledData.h"
103 virtual bool reset();
110 virtual bool clear();
191 UINT
quantize(
const Float inputValue);
259 #endif //GRT_SOM_QUANTIZER_HEADER
virtual bool saveModelToFile(std::string filename) const
UINT quantize(const Float inputValue)
virtual bool predict(VectorFloat inputVector)
virtual bool predict_(VectorFloat &inputVector)
virtual bool train_(ClassificationData &trainingData)
bool setNumClusters(const UINT numClusters)
VectorFloat getQuantizationDistances() const
virtual bool computeFeatures(const VectorFloat &inputVector)
virtual bool train(ClassificationData trainingData)
bool getQuantizerTrained() const
SOMQuantizer(const UINT numClusters=10)
virtual bool deepCopyFrom(const FeatureExtraction *featureExtraction)
SelfOrganizingMap getSelfOrganizingMap() const
virtual bool train_(ClassificationData &trainingData)
SOMQuantizer & operator=(const SOMQuantizer &rhs)
virtual bool loadModelFromFile(std::string filename)
UINT getNumClusters() const
UINT getQuantizedValue() const