Skip to main content

Compute On Dataset Batch

POST 

/v2/metrics/dataset/batch/

Compute a metric on a batch of dataset samples.

Parameters:

  • metric: The metric name and dataset samples to compute.

Returns:

  • A list of computed metric values for each sample.

Raises:

  • HTTPException 400: If the dataset or any sample is not found.
  • HTTPException 500: If there is an error computing the metric.

Request

Body

required

    metric Metric (string)required
    dataset Dataset (string)required
    kwargs object[]required

Responses

Successful Response

Schema

    any

Loading...