Skip to main content

MLCore::SupervisedRobustPCAOperation::Impl

MLCore::SupervisedRobustPCAOperation::Impl

Public Attributes

Name
arma::mat eigenvectors
(D × n_components) projection matrix
arma::vec eigenvalues
Singular values squared / (n-1), sorted descending.
arma::vec mean
Feature means (from labeled subset).
double total_variance
Sum of all eigenvalues.
std::size_t n_components
std::size_t n_features
std::size_t num_classes
bool trained
std::vector< std::string > col_names
“SRPCA:0”, “SRPCA:1”, …

Public Attributes Documentation

variable eigenvectors

arma::mat eigenvectors;

(D × n_components) projection matrix

variable eigenvalues

arma::vec eigenvalues;

Singular values squared / (n-1), sorted descending.

variable mean

arma::vec mean;

Feature means (from labeled subset).

variable total_variance

double total_variance = 0.0;

Sum of all eigenvalues.

variable n_components

std::size_t n_components = 0;

variable n_features

std::size_t n_features = 0;

variable num_classes

std::size_t num_classes = 0;

variable trained

bool trained = false;

variable col_names

std::vector< std::string > col_names;

“SRPCA:0”, “SRPCA:1”, …


Updated on 2026-11-13 at 20:25:42 +0000