chernoff.h File Reference
#include <algorithm>
#include <map>
#include <vector>
#include <RobotAPI/libraries/aron/core/data/variant/All.h>
+ Include dependency graph for chernoff.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 armarx::aron
 
 armarx::aron::similarity
 
 armarx::aron::similarity::chernoff
 

Functions

double calculate_bhattacharyya_distance (std::vector< double > mean_one, std::vector< double > mean_two, std::vector< std::vector< double >> covariance_one, std::vector< std::vector< double >> covariance_two)
 
std::vector< std::vector< double > > calculate_covariance_matrix (data::NDArray array, std::vector< double > mean=std::vector< double >())
 
std::vector< double > calculate_mean_values (data::NDArray array)
 
double compute_similarity (const aron::data::NDArrayPtr p1, const aron::data::NDArrayPtr p2)
 
data::NDArray normalize_ndarray (data::NDArrayPtr array, int j)