61 static void scaling(std::vector<double>& v);
64 static void scaling(std::vector<std::vector<double> >& m);
67 static void centering(std::vector<std::vector<double> >& m);
70 static void centering(std::vector<double>& v);
75 static void centering(vector<double>& v,
double& mean,
double& std);
78 static double getVariance(
const std::vector<double>& v,
double mean=-1);
81 static double getStddev(
const vector<double>& v,
double mean=-1);
84 static double getCovariance(
const vector<double>& v1,
const vector<double>& v2,
double mean1,
double mean2);
87 static double getMean(
const std::vector<double>& v);
94 static double getRowCovariance(
const vector<vector<double> >& v,
int row1,
int row2,
double mean1=-1,
double mean2=-1, std::multiset<int>* features_to_use=0);
98 static double getRowMean(
const vector<vector<double> >& v,
int row, std::multiset<int>* features_to_use=0);
102 static double getRowVariance(
const vector<vector<double> >& v,
int row,
double mean=-1, std::multiset<int>* features_to_use=0);
106 static double getRowStddev(
const vector<vector<double> >& v,
int row,
double mean=-1, std::multiset<int>* features_to_use=0);
127 static double getCovariance(
const BALL::Matrix<double>& m,
int col1,
int col2,
double mean1=-1,
double mean2=-1);