For an intro, read Core Concepts and check quickstarts for LLMs or ML. For a reference code example, see this Metric cookbook.
How to read the tables
How to read the tables
-
Metric: the name of Metric or Preset you can pass to
Report. - Description: what it does. Complex Metrics link to explainer pages.
-
Parameters: available options. You can also add conditional
teststo any Metric with standard operators likeeq(equal),gt(greater than), etc. How Tests work. -
Test defaults are conditions that apply when you invoke Tests but do not set a pass/fail condition yourself.
-
With reference: if you provide a reference dataset during the Report
run, the conditions are set relative to reference. - No reference: if you do not provide a reference, Tests will use fixed heuristics (like expect no missing values).
-
With reference: if you provide a reference dataset during the Report
Text Evals
Summarizes results of text or LLM evals. To score individual inputs, first use descriptors.Data definition. You may need to map text columns.
Columns
Use to aggregate descriptor results or check data quality on column level.You may need to map column types using Data definition.
Value stats
Descriptive statistics.Column data quality
Column-level data quality metrics.Data definition. You may need to map column types.
Dataset
Use for exploratory data analysis and data quality checks.Data definition. You may need to map column types, ID and timestamp.
Dataset stats
Descriptive statistics.Dataset data quality
Dataset-level data quality metrics.Data definition. You may need to map column types, ID and timestamp.
Data Drift
Use to detect distribution drift for text and tabular data or over computed text descriptors. Checks 20+ drift methods listed separately: text and tabular.Data definition. You may need to map column types, ID and timestamp.
Metrics explainers. Understand how data drift works.
Classification
Use to evaluate quality on a classification task (probabilistic, non-probabilistic, binary and multi-class).Data definition. You may need to map prediction, target columns and classification type.
General
Use for binary classification and aggregated results for multi-class.
Dummy metrics:
Dummy model quality
Dummy model quality
Use these Metics to get the quality of a dummy model created on the same data (based on heuristics). You can compare your model quality to verify that it’s better than random. These Metrics serve as a baseline in automated testing.
By label
Use when you have multiple classes and want to evaluate quality separately.Regression
Use to evaluate the quality of a regression model.Data definition. You may need to map prediction and target columns.
Dummy metrics:
Dummy model quality
Dummy model quality
Use these Metics to get the baseline quality for regression: they use optimal constants (varies by the Metric). These Metrics serve as a baseline in automated testing.
Ranking
Use to evaluate ranking, search / retrieval or recommendations.Data definition. You may need to map prediction and target columns and ranking type.
Metric explainers. Check ranking metrics explainers.