Skip to main content
POST
/
quantlib
/
ml
/
validation
/
interpretability
Model Interpretability Analysis
curl --request POST \
  --url https://finceptbackend.share.zrok.io/quantlib/ml/validation/interpretability \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "X": [
    [
      1.2,
      0.5,
      3.1
    ],
    [
      2.1,
      1.3,
      2.5
    ]
  ],
  "y": [
    0.234,
    0.567
  ],
  "model_predict": "credit_model_v1",
  "method": "permutation"
}
'
{
  "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

Example:
[[1.2, 0.5, 3.1], [2.1, 1.3, 2.5]]
y
number[]
required

Target values

Example:
[0.234, 0.567]
model_predict
string
default:logistic

Model label for reference

Example:

"credit_model_v1"

method
enum<string>
default:permutation

Interpretability method

Available options:
permutation,
partial_dependence
Example:

"permutation"

Response

Interpretability results

success
boolean
Example:

true

data
object

Feature importance scores and analysis