SLIP
1.4
|
Provides some Principal Component Analysis algorithms. More...
#include <cmath>
#include <map>
#include <complex>
#include <numeric>
#include <algorithm>
#include "macros.hpp"
#include "Matrix.hpp"
#include "Vector.hpp"
#include "linear_algebra.hpp"
#include "linear_algebra_eigen.hpp"
#include "statistics.hpp"
Go to the source code of this file.
Namespaces | |
slip | |
This namespace corresponds to the kernel of the Simple Library on Image Processing (SLIP). That is to say that it contains the data structures and the algorithms needed by these data strucutres. | |
Functions | |
template<class OutputMatrix > | |
void | slip::pca_uniform_metric (OutputMatrix &metric) |
Get uniform metric for PCA computation. More... | |
template<class Matrix , class OutputMatrix > | |
void | slip::pca_adaptative_metric (const Matrix &data, OutputMatrix &metric) |
Get adaptative metric for PCA computation. More... | |
template<class Matrix , class OutputMatrix > | |
void | slip::pca_center_data (const Matrix &data, OutputMatrix ¢erdata, const bool normalize_data=false) |
Get uniform metric for PCA computation. More... | |
template<class Matrix , class Matrix2 , class OutputMatrix , class OutputVector > | |
void | slip::pca_computation (const Matrix &data, OutputMatrix &acp, const Matrix2 &metric, OutputVector &eigenval) |
Compute the PCA (data need to be centered) More... | |
template<class Matrix , class OutputMatrix > | |
void | slip::pca_simple_data_reduction_axis (const Matrix &acp, OutputMatrix &result, const std::size_t &nbaxis) |
Reduce ACP data. More... | |
template<class Matrix , class Matrix2 , class OutputMatrix > | |
void | slip::pca_data_reduction (const Matrix &data, const Matrix2 &metric, OutputMatrix &result, const std::size_t &nbaxis, const bool normalize_data=false) |
Data reduction using ACP. More... | |
template<class Matrix , class Matrix2 , class OutputMatrix > | |
void | slip::pca_data_reduction (const Matrix &data, const Matrix2 &metric, OutputMatrix &result, const bool normalize_data=false) |
Data reduction using ACP. More... | |
Provides some Principal Component Analysis algorithms.
Definition in file pca.hpp.