Skip to main content

MLCore::PCAParameters

MLCore::PCAParameters

Parameters for PCA dimensionality reduction. More…

#include <MLModelParameters.hpp>

Inherits from MLCore::MLModelParametersBase

Public Attributes

Name
std::size_t n_components
Number of principal components to retain.

Additional inherited members

Public Functions inherited from MLCore::MLModelParametersBase

Name
virtual ~MLModelParametersBase() =default

Detailed Description

struct MLCore::PCAParameters;

Parameters for PCA dimensionality reduction.

Wraps mlpack::PCA hyperparameters.

Public Attributes Documentation

variable n_components

std::size_t n_components = 2;

Number of principal components to retain.


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