Input
ExecutionExecution trigger that begins Logistic Regression training
AI/ML/Classification
Fit/Train a Logistic Regression classifier with L2 regularization. Handles binary and multi-class targets and yields interpretable coefficients plus calibrated probabilities. The solver expects features on a comparable scale - fit a Feature Scaler first if your columns have very different ranges.
Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.
Execution trigger that begins Logistic Regression training
Choose which backend supplies the training data
Auto picks the binary solver for two classes and the multinomial (softmax) solver for more. Binary and Multinomial force one of them.
Weight of the L2 penalty on the coefficients. 0 disables regularization, larger values shrink the model harder.
Fit a bias term. Disable only when the features are already centered.
Upper bound on LBFGS iterations. Raise it when training accuracy stays at the baseline.
Smallest gradient norm that still continues the solver. Smaller means a tighter fit and more iterations.
Probability above which linfa's positive class is predicted. You do not choose that class: linfa assigns it to whichever label sorts second, which for a typical imbalanced dataset is the majority class. Raising the threshold therefore makes the OTHER class — usually the rare one — more likely to be predicted. The class the threshold actually governs is logged when training runs. Binary mode only, ignored for multinomial targets.
Activated once training completes
Thread-safe handle to the trained Logistic Regression classifier