structure for pca parameters. Ref: http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.PCA.html
More...
#include <params.hpp>
template<typename enum_solver = solver>
class ML::paramsPCATemplate< enum_solver >
structure for pca parameters. Ref: http://scikit-learn.org/stable/modules/generated/sklearn.decomposition.PCA.html
- Parameters
-
| n_components | Number of components to keep. if n_components is not set all components are kept: |
| copy | If False, data passed to fit are overwritten and running fit(X).transform(X) will not yield the expected results, use fit_transform(X) instead. |
| whiten | When True (False by default) the components_ vectors are multiplied by the square root of n_samples and then divided by the singular values to ensure uncorrelated outputs with unit component-wise variances. |
| algorithm | the solver to be used in PCA. |
| tol | Tolerance for singular values computed by svd_solver == ‘arpack’ or svd_solver == ‘COV_EIG_JACOBI’ |
| n_iterations | Number of iterations for the power method computed by jacobi method (svd_solver == 'COV_EIG_JACOBI'). |
| verbose | 0: no error message printing, 1: print error messages |
◆ copy
template<typename enum_solver = solver>
◆ whiten
template<typename enum_solver = solver>
The documentation for this class was generated from the following file: