24 #include "core/MACoreTypes.hpp" 28 #include <boost/shared_ptr.hpp> 41 typedef boost::shared_ptr<MAClassifierSamples> ClassifierSamplesSPtr;
60 const MC::FloatTable& GetFeatureVectors()
const;
69 const MC::FloatList& GetLabels()
const;
79 void AddSample(
const MC::FloatList& feature_vector,
float label);
89 void AddSamples(
const MC::FloatTable& feature_vectors,
const MC::FloatList& labels);
98 void RemoveSample(
unsigned int index);
140 bool SaveToFile(
const std::string& file_name)
const;
Indexer< T > index(T &t)
Iterator magic for for loops to get the index while iterating through.
Collected data with portable storage functions.
MC::FloatList Labels
Labels.
MC::FloatTable FeatureVectors
Feature vectors.