Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start: Add a parameters hidden section to experiments to merge params/metrics into experiments #3163

Merged
merged 8 commits into from
Jan 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions content/docs/start/experiments.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,32 @@ Experiment results have been applied to your workspace.

<details>

### ℹ️ More information about (Hyper)parameters

It's pretty common for data science projects to include configuration files that
define adjustable parameters to train a model, adjust model architecture, do
pre-processing, etc. DVC provides a mechanism for experiments to depend on the
specific variables from a file.

By default, DVC assumes that a parameters file named `params.yaml` is available
in your project. DVC parses this file and creates dependencies to the variables
found in it: `model.conv_units` and `train.epochs`. Example:

```yaml
train:
epochs: 10
model:
conv_units: 16
```

When you use `dvc exp run --set-param`, DVC updates the parameters in
`params.yaml` with the values you set in the command line before running the
experiment.

</details>

<details>

### ⚙️ Run multiple experiments in parallel

Instead of running the experiments one-by-one, we can define them to run in a
Expand Down