Skip to content

Commit

Permalink
Add examples for the different types of performance metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
ens-lgil committed Jul 10, 2024
1 parent 472040b commit 55ec038
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions rest_api/static/rest_api/openapi/openapi-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -498,11 +498,31 @@ components:
class_acc:
type: array
description: "List of Classification Metric data"
example: [
{
"name_long": 'Area Under the Receiver-Operating Characteristic Curve',
"name_short": 'AUROC',
"estimate": 0.63,
"ci_lower": null,
"ci_upper": null,
"se": null
}
]
items:
$ref: '#/components/schemas/Metric'
othermetrics:
type: array
description: "Metrics that do not fit into the Effect Size or Classification Metric categories. e.g. R² (proportion of the variance explained), or reclassification metrics."
example: [
{
"name_long": 'Proportion of the variance explained',
"name_short": 'R2',
"estimate": 0.0011,
"ci_lower": null,
"ci_upper": null,
"se": null
}
]
items:
$ref: '#/components/schemas/Metric'
covariates:
Expand Down

0 comments on commit 55ec038

Please sign in to comment.