Fits a logistic regression model for binary classification, commonly used for credit default prediction and PD modeling. Returns model coefficients, AIC, BIC, and optional predictions. Use this for developing credit scorecards and probability of default (PD) models.
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Feature matrix (training data). Each row is a sample, each column is a feature.
[
[1.2, 0.5, 3.1],
[2.1, 1.3, 2.5],
[0.8, 0.9, 4.2]
]Binary target labels (0 = non-default, 1 = default)
0, 1 [0, 1, 0]Optional feature matrix for prediction
[[1.5, 0.7, 3.3]]