post
https://api.superwise.ai/v1/metrics/performance
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Calculates one model performance metric on a dataset, comparing a prediction field with an actual field. Supported metrics are accuracy, precision, recall, F1 score, AUC-ROC, log loss, MAE, MSE, RMSE, and MAPE.
When to use it
Use it to measure how well a model performs on the data in a dataset. Add dimensions to get one result per group.
Required parameters
- Request body: a metric payload. Set
metricto one ofACCURACY,PRECISION,RECALL,F1_SCORE,AUC_ROC,LOG_LOSS,MAE,MSE,RMSE, orMAPE, and give thedataset_id, theprediction_field, theactual_field, and optionalfiltersanddimensions.
Response
A successful call returns 200 OK with metric and results, a list of values, each with its dimensions_values.
Related: Calculate several performance metrics, Compare two distributions, Run a SQL query on datasets
422Unprocessable Entity
500Internal Server Error