#include <most_discriminating_data_points.h>
Public Member Functions | |
void | computeDataPoints (std::vector< std::vector< float > > *const k_means) |
void | computeInitialMeans (std::vector< int > *const output_init_indices) |
MostDiscriminatingDataPoints () | |
void | resetInitialMeans () |
void | setInitialMeans (std::vector< int > *const pindices) |
void | setInputData (const std::vector< std::vector< float > > *const pdata) |
void | setK (const int k) |
Protected Member Functions | |
void | computeKmeans () |
int | eStep () |
void | mStep () |
Protected Attributes | |
std::vector< int > | assigned_classes_ |
std::vector< int > | count_ |
std::vector< int > * | init_indices_ |
size_t | k_ |
size_t | m_ |
size_t | n_ |
const std::vector< std::vector < float > > * | pdata_ |
std::vector< std::vector < float > > * | pmeans_ |
bool | predefined_initial_centers_ |
Definition at line 99 of file most_discriminating_data_points.h.
Definition at line 102 of file most_discriminating_data_points.h.
void cob_3d_features::MostDiscriminatingDataPoints::computeDataPoints | ( | std::vector< std::vector< float > > *const | k_means | ) |
Definition at line 190 of file most_discriminating_data_points.cpp.
void cob_3d_features::MostDiscriminatingDataPoints::computeInitialMeans | ( | std::vector< int > *const | output_init_indices | ) |
Definition at line 141 of file most_discriminating_data_points.cpp.
void cob_3d_features::MostDiscriminatingDataPoints::computeKmeans | ( | ) | [protected] |
Definition at line 120 of file most_discriminating_data_points.cpp.
int cob_3d_features::MostDiscriminatingDataPoints::eStep | ( | ) | [protected] |
Definition at line 73 of file most_discriminating_data_points.cpp.
void cob_3d_features::MostDiscriminatingDataPoints::mStep | ( | ) | [protected] |
Definition at line 104 of file most_discriminating_data_points.cpp.
void cob_3d_features::MostDiscriminatingDataPoints::resetInitialMeans | ( | ) | [inline] |
Definition at line 128 of file most_discriminating_data_points.h.
void cob_3d_features::MostDiscriminatingDataPoints::setInitialMeans | ( | std::vector< int > *const | pindices | ) | [inline] |
Definition at line 120 of file most_discriminating_data_points.h.
void cob_3d_features::MostDiscriminatingDataPoints::setInputData | ( | const std::vector< std::vector< float > > *const | pdata | ) | [inline] |
Definition at line 106 of file most_discriminating_data_points.h.
void cob_3d_features::MostDiscriminatingDataPoints::setK | ( | const int | k | ) | [inline] |
Definition at line 114 of file most_discriminating_data_points.h.
std::vector<int> cob_3d_features::MostDiscriminatingDataPoints::assigned_classes_ [protected] |
Definition at line 157 of file most_discriminating_data_points.h.
std::vector<int> cob_3d_features::MostDiscriminatingDataPoints::count_ [protected] |
Definition at line 158 of file most_discriminating_data_points.h.
std::vector<int>* cob_3d_features::MostDiscriminatingDataPoints::init_indices_ [protected] |
Definition at line 156 of file most_discriminating_data_points.h.
size_t cob_3d_features::MostDiscriminatingDataPoints::k_ [protected] |
Definition at line 150 of file most_discriminating_data_points.h.
size_t cob_3d_features::MostDiscriminatingDataPoints::m_ [protected] |
Definition at line 151 of file most_discriminating_data_points.h.
size_t cob_3d_features::MostDiscriminatingDataPoints::n_ [protected] |
Definition at line 152 of file most_discriminating_data_points.h.
const std::vector<std::vector<float> >* cob_3d_features::MostDiscriminatingDataPoints::pdata_ [protected] |
Definition at line 153 of file most_discriminating_data_points.h.
std::vector<std::vector<float> >* cob_3d_features::MostDiscriminatingDataPoints::pmeans_ [protected] |
Definition at line 154 of file most_discriminating_data_points.h.
Definition at line 149 of file most_discriminating_data_points.h.