Skip to main content

MLCore::SoftmaxRegressionParameters

MLCore::SoftmaxRegressionParameters

Parameters for Softmax Regression (multi-class logistic regression). More…

#include <MLModelParameters.hpp>

Inherits from MLCore::MLModelParametersBase

Public Attributes

Name
double lambda
L2 regularization parameter.
std::size_t max_iterations
Maximum L-BFGS iterations (0 = unlimited).

Additional inherited members

Public Functions inherited from MLCore::MLModelParametersBase

Name
virtual ~MLModelParametersBase() =default

Detailed Description

struct MLCore::SoftmaxRegressionParameters;

Parameters for Softmax Regression (multi-class logistic regression).

Maps to mlpack::SoftmaxRegression hyperparameters. Generalizes binary logistic regression to C ≥ 2 classes. Produces calibrated per-class probability estimates via softmax.

Public Attributes Documentation

variable lambda

double lambda = 0.0001;

L2 regularization parameter.

variable max_iterations

std::size_t max_iterations = 10000;

Maximum L-BFGS iterations (0 = unlimited).


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