SHOGUN
v1.1.0
|
Preprocessor KernelPCA performs kernel principal component analysis.
Schoelkopf, B., Smola, A. J., & Mueller, K. R. (1999). Kernel Principal Component Analysis. Advances in kernel methods support vector learning, 1327(3), 327-352. MIT Press. Retrieved from http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.32.8744
Definition at line 35 of file KernelPCA.h.
Protected Member Functions | |
void | init () |
Protected Attributes | |
CFeatures * | m_init_features |
SGMatrix< float64_t > | m_transformation_matrix |
SGVector< float64_t > | m_bias_vector |
bool | m_initialized |
![]() | |
int32_t | m_target_dim |
CDistance * | m_distance |
CKernel * | m_kernel |
CEmbeddingConverter * | m_converter |
Additional Inherited Members | |
![]() | |
SGIO * | io |
Parallel * | parallel |
Version * | version |
Parameter * | m_parameters |
Parameter * | m_model_selection_parameters |
CKernelPCA | ( | ) |
default constructor
Definition at line 29 of file KernelPCA.cpp.
CKernelPCA | ( | CKernel * | k | ) |
|
virtual |
Definition at line 61 of file KernelPCA.cpp.
apply preproc on feature matrix result in feature matrix return pointer to feature_matrix, i.e. f->get_feature_matrix();
Reimplemented from CDimensionReductionPreprocessor.
Definition at line 129 of file KernelPCA.cpp.
apply preproc on single feature vector result in feature matrix
Reimplemented from CDimensionReductionPreprocessor.
Definition at line 161 of file KernelPCA.cpp.
|
virtual |
|
virtual |
cleanup
Reimplemented from CDimensionReductionPreprocessor.
Definition at line 53 of file KernelPCA.cpp.
get bias of KPCA
Definition at line 79 of file KernelPCA.h.
|
virtual |
Reimplemented from CDimensionReductionPreprocessor.
Definition at line 85 of file KernelPCA.h.
get transformation matrix, i.e. eigenvectors
Definition at line 71 of file KernelPCA.h.
|
virtual |
Reimplemented from CDimensionReductionPreprocessor.
Definition at line 88 of file KernelPCA.h.
|
virtual |
initialize preprocessor from features
Reimplemented from CDimensionReductionPreprocessor.
Definition at line 68 of file KernelPCA.cpp.
|
protected |
default init
Reimplemented from CDimensionReductionPreprocessor.
Definition at line 40 of file KernelPCA.cpp.
bias vector
Definition at line 104 of file KernelPCA.h.
|
protected |
features used by init. needed for apply
Definition at line 98 of file KernelPCA.h.
|
protected |
true when already initialized
Definition at line 107 of file KernelPCA.h.
transformation matrix
Definition at line 101 of file KernelPCA.h.