Description
Display a table of experiments with their parameters and metrics. This command provides a comprehensive view of all experiments, allowing you to compare results across different runs and identify the best performing configurations.Usage
Options
Filtering Options
boolean
default:"false"
Show experiments derived from the tip of all Git branches.
boolean
default:"false"
Show experiments derived from all Git tags.
boolean
default:"false"
Show experiments from all Git commits (not just latest).
string[]
Show experiments derived from specific Git revisions.
integer
default:"1"
Show experiments from the last N commits.
boolean
default:"false"
Hide failed experiments in the table.
boolean
default:"false"
Hide queued experiments in the table.
boolean
default:"false"
Hide workspace row in the table.
Display Options
boolean
default:"false"
Only show metrics and parameters with values varying across experiments. Very useful for identifying what parameters affect results.
string[]
Remove columns matching the specified regex pattern. Can be used multiple times.
string[]
Preserve only columns matching the specified regex pattern. Can be used multiple times.
boolean
default:"false"
Show only parameters that are stage dependencies (defined in
dvc.yaml).boolean
default:"false"
Do not pipe output into a pager. Useful when redirecting output or in CI/CD.
boolean
default:"false"
Always show Git commit SHAs instead of branch/tag names.
Sorting Options
string
Sort experiments by the specified metric or parameter.
string
default:"asc"
Sort order to use with
--sort-by. Options: asc (ascending) or desc (descending).Output Format Options
boolean
default:"false"
Print output in JSON format instead of a human-readable table.
boolean
default:"false"
Print output in CSV format instead of a human-readable table.
boolean
default:"false"
Show output in Markdown table format (GitHub Flavored Markdown).
integer
default:"5"
Round metrics and parameters to N digits after the decimal point.
boolean
default:"false"
Force re-collection of experiments instead of loading from cache.
Examples
Show all experiments
Show only changed values
The
epochs column is hidden because all experiments used the same value.Sort by metric
Filter columns with regex
Export to CSV
experiments.csv):
CSV output is useful for importing results into spreadsheets or data analysis tools.
Export to JSON
JSON output works great with tools like
jq for programmatic filtering and analysis.Show experiments from multiple branches
Show last 10 commits with experiments
Format for documentation
Understanding the Output
Experiment Tree Structure
Experiments are shown in a tree structure:- Bold rows indicate baseline commits (Git commits)
- └── and ├── symbols show experiment hierarchy
- workspace shows current uncommitted changes
Column Types
Columns are color-coded by type:- Experiment info (grey background): Experiment name, creation date, state
- Metrics (orange background): Performance metrics from your model
- Parameters (cyan background): Hyperparameters and configuration
- Dependencies (purple background): Input data checksums
Common Workflows
Find best experiment
Compare specific parameters
Generate report for stakeholders
Related Commands
dvc exp run- Create new experimentsdvc exp diff- Compare two specific experimentsdvc exp apply- Apply experiment to workspacedvc metrics show- View metrics without experiment context