MLCore::LogitProjectionOperation::Impl
MLCore::LogitProjectionOperation::Impl
Public Attributes
| Name | |
|---|---|
| std::unique_ptr< SRModel > | model Trained softmax regression model (used to extract weights). |
| arma::mat | weight_matrix |
| arma::vec | bias Bias vector b: (C × 1). |
| std::size_t | num_classes |
| std::size_t | num_features |
| std::vector< std::string > | col_names “Logit:0”, “Logit:1”, … |
| bool | trained |
Public Attributes Documentation
variable model
std::unique_ptr< SRModel > model;Trained softmax regression model (used to extract weights).
variable weight_matrix
arma::mat weight_matrix;Extracted weight matrix W: (C × D) Logits for new data X: result = W * X + bias_broadcast
variable bias
arma::vec bias;Bias vector b: (C × 1).
variable num_classes
std::size_t num_classes = 0;variable num_features
std::size_t num_features = 0;variable col_names
std::vector< std::string > col_names;“Logit:0”, “Logit:1”, …
variable trained
bool trained = false;Updated on 2026-11-13 at 20:25:42 +0000