UFJF - Machine Learning Toolkit  0.51.8
Statistics.hpp File Reference
#include <vector>
#include <cmath>
#include <iostream>
#include "Data.hpp"
Include dependency graph for Statistics.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mltk
 UFJF-MLTK main namespace for core functionalities.
 
 mltk::stats
 Namespace for statistical methods.
 

Functions

template<typename T , typename R >
double mltk::stats::mean (const mltk::Point< T, R > &p)
 Compute the mean (average) of a point. More...
 
template<typename T >
double mltk::stats::mean (const Data< T > &data, size_t feat)
 Compute the mean (average) of a feature in data. More...
 
template<typename T , typename R >
double mltk::stats::std_dev (const mltk::Point< T, R > &p)
 Compute the standard deviation of a point. More...
 
template<typename T >
double mltk::stats::std_dev (const Data< T > &data, size_t feat)
 Compute the standard deviation of a feature in data. More...
 
template<typename T , typename R >
double mltk::stats::var (const mltk::Point< T, R > &p)
 Compute the variance of a point. More...
 
template<typename T >
double mltk::stats::var (const Data< T > &data, size_t feat)
 Compute the variance of a feature in data. More...
 
template<typename T , typename R >
double mltk::stats::covar (const mltk::Point< T, R > &p, const mltk::Point< T, R > &p1)
 Compute the covariance between two points. More...
 
template<typename T >
double mltk::stats::radius (const Data< T > &data, int feat, double q)
 Returns radius of the ball that circ. the data. More...
 
template<typename T >
double mltk::stats::distCenters (const Data< T > &data, int feat)
 Compute the distance between the centers of binary classes without given features. More...
 
template<typename T >
double mltk::stats::distCentersWithoutFeats (const Data< T > &data, const std::vector< int > &feats, int index)
 Compute the distance between the centers of binary classes without given features. More...
 

Detailed Description

Statistics wrapper class

Author
Mateus Coutinho Marim