Logistic Regression Score API Reference
This page documents the API for the Logistic Regression Score function in Pypulate.
Logistic regression scoring for credit risk assessment.
logistic_regression_score(coefficients, features, intercept=0)
Calculate credit score using logistic regression coefficients.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
coefficients
|
array_like
|
Coefficients for each feature |
required |
features
|
array_like
|
Feature values |
required |
intercept
|
float
|
Intercept term |
0
|
Returns:
Type | Description |
---|---|
dict
|
Probability of default and score |