29 #ifndef GRT_KMEANS_FEATURES_HEADER
30 #define GRT_KMEANS_FEATURES_HEADER
33 #include "../../CoreModules/FeatureExtraction.h"
34 #include "../../ClusteringModules/KMeans/KMeans.h"
35 #include "../../DataStructures/TimeSeriesClassificationData.h"
36 #include "../../DataStructures/ClassificationDataStream.h"
37 #include "../../DataStructures/UnlabelledData.h"
181 UINT getNumLayers()
const;
182 UINT getLayerSize(
const UINT layerIndex)
const;
202 #endif //GRT_KMEANS_FEATURES_HEADER
virtual bool predict(VectorFloat inputVector)
KMeansFeatures(const Vector< UINT > numClustersPerLayer=Vector< UINT >(1, 100), const Float alpha=0.2, const bool useScaling=true)
virtual bool predict_(VectorFloat &inputVector)
virtual bool deepCopyFrom(const FeatureExtraction *featureExtraction)
virtual bool train(ClassificationData trainingData)
virtual bool train_(ClassificationData &trainingData)
virtual bool computeFeatures(const VectorFloat &inputVector)
KMeansFeatures & operator=(const KMeansFeatures &rhs)
virtual bool loadModelFromFile(std::string filename)
virtual ~KMeansFeatures()
virtual bool train_(ClassificationData &trainingData)
virtual bool saveModelToFile(std::string filename) const