Skip to main content
POST
/
quantlib
/
ml
/
regression
/
ead
Exposure at Default (EAD) Model
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/ml/regression/ead \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "X": [
    [
      50000,
      0.65,
      36
    ],
    [
      75000,
      0.42,
      48
    ],
    [
      100000,
      0.78,
      24
    ]
  ],
  "y": [
    32500,
    31500,
    78000
  ],
  "predict_X": [
    [
      60000,
      0.55,
      30
    ]
  ]
}
'
{
  "success": true,
  "data": {
    "coefficients": [
      0.45,
      15000,
      -120
    ],
    "r_squared": 0.783,
    "predictions": [
      33000
    ]
  }
}

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

Features (credit limit, utilization rate, account age, etc.)

Example:
[
[50000, 0.65, 36],
[75000, 0.42, 48],
[100000, 0.78, 24]
]
y
number[]
required

Exposure amounts at default

Example:
[32500, 31500, 78000]
predict_X
number[][]

Optional features for EAD prediction

Example:
[[60000, 0.55, 30]]

Response

EAD model results

success
boolean
Example:

true

data
object