37 #ifndef GRT_RBM_QUANTIZER_HEADER
38 #define GRT_RBM_QUANTIZER_HEADER
41 #include "../../CoreModules/FeatureExtraction.h"
42 #include "../../CoreAlgorithms/BernoulliRBM/BernoulliRBM.h"
43 #include "../../DataStructures/TimeSeriesClassificationData.h"
44 #include "../../DataStructures/ClassificationDataStream.h"
45 #include "../../DataStructures/UnlabelledData.h"
104 virtual bool reset();
111 virtual bool clear();
194 UINT
quantize(
const Float inputValue);
262 #endif //GRT_RBM_QUANTIZER_HEADER
virtual bool predict(VectorFloat inputVector)
virtual bool deepCopyFrom(const FeatureExtraction *featureExtraction)
virtual bool predict_(VectorFloat &inputVector)
UINT getNumClusters() const
virtual bool loadModelFromFile(std::string filename)
UINT quantize(const Float inputValue)
virtual bool train(ClassificationData trainingData)
RBMQuantizer & operator=(const RBMQuantizer &rhs)
BernoulliRBM getBernoulliRBM() const
virtual bool saveModelToFile(std::string filename) const
VectorFloat getQuantizationDistances() const
bool setNumClusters(const UINT numClusters)
virtual bool computeFeatures(const VectorFloat &inputVector)
virtual bool train_(ClassificationData &trainingData)
UINT getQuantizedValue() const
virtual bool train_(ClassificationData &trainingData)
bool getQuantizerTrained() const
RBMQuantizer(const UINT numClusters=10)