Dvclive

Latest version: v3.46.1

Safety actively analyzes 638819 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 20

2.11.0

What's Changed
* Update comparison with other loggers by daavoo in https://github.com/iterative/dvclive/pull/578
* deps: bump dvc-studio-client>=0.10.0,<1 by daavoo in https://github.com/iterative/dvclive/pull/581
* live: Add `exp_message` arg. by daavoo in https://github.com/iterative/dvclive/pull/565
* log_metric: add plot flag by dberenbaum in https://github.com/iterative/dvclive/pull/584
* docs: add `dev` extra to install command in contributing guide by sisp in https://github.com/iterative/dvclive/pull/588
* check for no_scm repo by dberenbaum in https://github.com/iterative/dvclive/pull/585
* lightning: parse nested params by dberenbaum in https://github.com/iterative/dvclive/pull/571
* Skip framework tests by daavoo in https://github.com/iterative/dvclive/pull/590
* support metrics from multiple eval sets in lgbm by raphcoterta in https://github.com/iterative/dvclive/pull/563
* chore(setup): migrate to pyproject, add version by shcheklein in https://github.com/iterative/dvclive/pull/589
* suppress dvc logs by dberenbaum in https://github.com/iterative/dvclive/pull/583

New Contributors
* sisp made their first contribution in https://github.com/iterative/dvclive/pull/588
* raphcoterta made their first contribution in https://github.com/iterative/dvclive/pull/563

**Full Changelog**: https://github.com/iterative/dvclive/compare/2.10.1...2.11.0

2.10.1

What's Changed
* fix(summary): proper EOF with a newline by shcheklein in https://github.com/iterative/dvclive/pull/575
* dvc: Remove vendored get_random_exp_name. by daavoo in https://github.com/iterative/dvclive/pull/577


**Full Changelog**: https://github.com/iterative/dvclive/compare/2.10.0...2.10.1

2.10.0

What's Changed
* mypy: remove --install-types by daavoo in https://github.com/iterative/dvclive/pull/567
* use markdown for notebook reports by dberenbaum in https://github.com/iterative/dvclive/pull/558
* read studio token from dvc config by dberenbaum in https://github.com/iterative/dvclive/pull/561
* fix(make_dvcyaml): make it idempotent for artifacts by shcheklein in https://github.com/iterative/dvclive/pull/573


**Full Changelog**: https://github.com/iterative/dvclive/compare/2.9.0...2.9.1

2.9.0

What's Changed
* fix(log_artifact): don't follow symlink on dumping dvc.yaml by shcheklein in https://github.com/iterative/dvclive/pull/564
* feat(log_artifact): add an option to copy (capture) into dvclive dir by shcheklein in https://github.com/iterative/dvclive/pull/559
* studio: send images. by daavoo in https://github.com/iterative/dvclive/pull/525


**Full Changelog**: https://github.com/iterative/dvclive/compare/2.8.1...2.9.0

2.8.1

What's Changed
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/iterative/dvclive/pull/554
* allow for custom image subclasses by dberenbaum in https://github.com/iterative/dvclive/pull/553
* live: Catch errors in `_ensure_paths_are_tracked_in_dvc_exp`. by daavoo in https://github.com/iterative/dvclive/pull/555


**Full Changelog**: https://github.com/iterative/dvclive/compare/2.8.0...2.8.1

2.8.0

New Features

Live.log_plot

Create DVC plots from datapoints (list of dictionaries) and plot config.


py
datapoints = [{"foo": 1, "bar": 2}, {"foo": 3, "bar": 4}]
with Live() as live:
live.log_plot("foo_default", datapoints, x="foo", y="bar", title="Default Linear Plot")
live.log_plot(
"foo_scatter",
datapoints,
x="foo",
y="bar",
template="scatter",
title="Plot using Scatter template",
y_label="CUSTOM LABEL: BAR",
x_label="CUSTOM LABEL: FOO"
)


Example output:

- `dvclive/plots/custom/foo_default.json`

json
[
{
"foo": 1,
"bar": 2
},
{
"foo": 3,
"bar": 4
}
]


- `dvclive/dvc.yaml`

yaml
plots:
- plots/custom/foo_default.json:
x: foo
y: bar
title: Default Linear Plot
- plots/custom/foo_scatter.json:
template: scatter
x: foo
y: bar
title: Plot using Scatter template
x_label: 'CUSTOM LABEL: FOO'
y_label: 'CUSTOM LABEL: BAR'


- `dvc plots show`

<img width="956" alt="Captura de pantalla 2023-04-26 a las 20 16 51" src="https://user-images.githubusercontent.com/12677733/234666832-322cb625-1cdc-4df8-9be1-bf15c7c9470b.png">

Custom plot properties for `Live.log_sklearn_plot`

py
from dvclive import Live

y_true = [0, 0, 1, 1]

Page 6 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.