Add Metric
POST/v2/projects/experiments/:experimentid/compute_metrics/
Add a one or more metric to an experiment's evaluation.
Parameters:
- experimentid (str): The ID of the experiment.
- eval_info (schemas.Pipeline): The evaluation information.
Raises:
- HTTPException: If the evaluation is not found or if an invalid metric is provided.
Returns:
- None
Request
Path Parameters
experimentid Experimentidrequired
- application/json
Body
required
pipeline string[]required
Responses
- 200
- 422
Successful Response
- application/json
- Schema
Schema
any
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...