#include <mia/core/cmeans.hh>
Data Structures | |
class | Initializer |
class | SparseProbmap |
Public Types | |
typedef std::vector< double > | DVector |
typedef std::vector< std::pair< double, double > > | NormalizedHistogram |
typedef std::shared_ptr< Initializer > | PInitializer |
typedef CSparseHistogram::Compressed | SparseHistogram |
Public Member Functions | |
CMeans (double epsilon, PInitializer class_center_initializer) | |
SparseProbmap | run (const SparseHistogram &histogram, DVector &class_centers) const |
SparseProbmap | run (const SparseHistogram &histogram, DVector &class_centers, bool de_normalize_results) const |
~CMeans () | |
typedef std::vector<double> CMeans::DVector |
typedef std::vector<std::pair<double, double> > CMeans::NormalizedHistogram |
typedef std::shared_ptr<Initializer> CMeans::PInitializer |
CMeans::CMeans | ( | double | epsilon, |
PInitializer | class_center_initializer | ||
) |
CMeans::~CMeans | ( | ) |
SparseProbmap CMeans::run | ( | const SparseHistogram & | histogram, |
DVector & | class_centers | ||
) | const |
SparseProbmap CMeans::run | ( | const SparseHistogram & | histogram, |
DVector & | class_centers, | ||
bool | de_normalize_results | ||
) | const |