Skip to main content

MLCore::RobustPCAParameters

MLCore::RobustPCAParameters

Parameters for Robust PCA (ROSL) dimensionality reduction. More…

#include <MLModelParameters.hpp>

Inherits from MLCore::MLModelParametersBase

Public Attributes

Name
std::size_t n_components
Number of output dimensions (max rank for ROSL).
double lambda
Regularization (0 = auto-compute from data).
double tol
Convergence tolerance.
std::size_t max_iter
Maximum ALM iterations.

Additional inherited members

Public Functions inherited from MLCore::MLModelParametersBase

Name
virtual ~MLModelParametersBase() =default

Detailed Description

struct MLCore::RobustPCAParameters;

Parameters for Robust PCA (ROSL) dimensionality reduction.

Wraps the ROSL (Robust Online Subspace Learning) algorithm which decomposes a matrix into a low-rank component and sparse errors: X = A + E, where A = D * B is the low-rank approximation.

Robust PCA supports projecting new data via the learned dictionary.

Public Attributes Documentation

variable n_components

std::size_t n_components = 2;

Number of output dimensions (max rank for ROSL).

variable lambda

double lambda = 0.0;

Regularization (0 = auto-compute from data).

variable tol

double tol = 1e-5;

Convergence tolerance.

variable max_iter

std::size_t max_iter = 100;

Maximum ALM iterations.


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