26 #ifndef CDATASETSTATISTIC_H
27 #define CDATASETSTATISTIC_H
93 virtual string className()
const {
return string(
"CDatasetStatistic");};
float spearman(int iSize, CDataset< double > &rNodeCoords, CMetric< double > &rMetricMap, CMetric< Type > &rMetricData)
CDenseVector< Type > maxElements()
void setData(CDataset< Type > *ptSet)
CMatrix< Type > getSW(void)
static CDenseVector< Type > mean(const CDataset< Type > &rtDs, Type tClassLabel)
Calculate mean vector of elements in rtDs with class label tClassLabel.
void statistic(CDenseVector< Type > &rtMean, CDenseVector< Type > &rtDeviation, CDenseVector< Type > &rtVariance) const
CDenseVector< Type > minElements()
static CMatrix< Type > covarianceMatrix(const CDataset< Type > &rtDs, Type tClassLabel)
Calculate covariance matrix of elements in rtDs with class label tClassLabel.
Base class for metrix objects.
Definition: CMetric.h:36
Template object implementing a matrix of single and double precision elements.
Definition: CDenseVector.h:38
Definition: CDatasetStatistic.h:44
CMatrix< Type > getLDA(void)
CDataset< float > * rankInputSpace(int iSize, CMetric< Type > &rMetric)
CMatrix< Type > getSB(void)
CDataset< float > * rankMapSpace(int iSize, CDataset< double > &rNodeCoords, CMetric< double > &rMetricMap)
Template object for vectors of single and double precision and integer.
Definition: CDenseVector.h:37
CDataset< Type > * getData(void)
Base class for all object.
Definition: CObject.h:51
CMatrix< Type > getAutoCorrelation(void)
Manages pairs of input and output vectors.
Definition: CDataset.h:110
virtual string className() const
Returns the class name.
Definition: CDatasetStatistic.h:93