Skip to main content
POST
/
quantlib
/
ml
/
credit
/
scorecard
Build Credit Scorecard
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/ml/credit/scorecard \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "X": [
    [
      35000,
      3,
      0.35
    ],
    [
      45000,
      5,
      0.28
    ],
    [
      55000,
      7,
      0.2
    ]
  ],
  "y": [
    1,
    0,
    0
  ],
  "n_bins": 5
}
'
{
  "success": true,
  "data": {}
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register

Body

application/json
X
number[][]
required

Feature matrix for scorecard development

Example:
[
[35000, 3, 0.35],
[45000, 5, 0.28],
[55000, 7, 0.2]
]
y
enum<integer>[]
required

Binary target (0 = good, 1 = bad)

Available options:
0,
1
Example:
[1, 0, 0]
n_bins
integer
default:10

Number of bins per feature

Example:

5

Response

Scorecard model

success
boolean
Example:

true

data
object

Scorecard configuration and parameters