33 #ifndef GRT_MOVEMENT_INDEX_HEADER
34 #define GRT_MOVEMENT_INDEX_HEADER
36 #include "../../CoreModules/FeatureExtraction.h"
37 #include "../../Util/Util.h"
141 bool init(UINT bufferLength,UINT numDimensions);
182 #endif //GRT_MOVEMENT_INDEX_HEADER
virtual bool predict(VectorFloat inputVector)
virtual bool predict_(VectorFloat &inputVector)
virtual bool saveModelToFile(std::string filename) const
virtual bool train(ClassificationData trainingData)
virtual bool deepCopyFrom(const FeatureExtraction *featureExtraction)
virtual bool loadModelFromFile(std::string filename)
virtual bool train_(ClassificationData &trainingData)
MovementIndex & operator=(const MovementIndex &rhs)
MovementIndex(UINT bufferLength=100, UINT numDimensions=1)
VectorFloat update(Float x)
virtual bool computeFeatures(const VectorFloat &inputVector)
CircularBuffer< VectorFloat > getData()