POST
/
projects
/
{project_id}
/
runs
/
{run_id}
/
split
/
{split}
/
insights
/
groupby

Authorizations

Galileo-API-Key
string
headerrequired

Path Parameters

project_id
string
required
run_id
string
required
split
enum<string>
required
Available options:
training,
validation,
test,
inference

Query Parameters

groupby_col
string
required
inference_name
string
default:
scope
string | null
default:

Body

application/json
task
string | null
filter_params
object
compare_to
enum<string> | null
Available options:
training,
validation,
test,
inference
map_threshold
number
default: 0.5
meta_cols
string[] | null

Response

200 - application/json

Metrics for a cohort returned in columnar format.

Each field in the class is of equal length (or len 0), mapping to the y-axis of each chart. The labels field contains the x-axis labels which apply to all y-axes for all charts created for this data.

ex: labels: ["apple", "banana", "orange"] precision: [0.95, 0.55, 0.83] recall: [0.93, 0.25, 0.88] ...

labels
(string | integer | boolean)[]
recall
number[]
f1
number[]
precision
number[]
confidence
number[]
support
integer[]
data_error_potential
number[]
missed_label
integer[]
span_shift
integer[]
wrong_tag
integer[]
ghost_span
integer[]
total_errors
integer[]