-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
feature requestRequesting a new featureRequesting a new featurep2-mediumMedium priority, should be done, but less importantMedium priority, should be done, but less importantproduct: VSCodeIntegration with VSCode extensionIntegration with VSCode extensionresearch
Description
Today, we can track metrics but metrics become much more valuable when you can see differences/improvements over time (commits/branches). A new dvc metrics diff command is needed.
$ dvc metrics diff HEAD^^
metr.json:
{
"top1-error": 0.0385,
"top5-error": 0.039221
}
Open question: What should we do about not float/integer metrics? Let's don't support (ignore) them. Any other ideas?
Note, we should deal with float formatting carefully - we don't want to see diff values like 0.0001624000000000000001.
Also, an easy-to-parse output option is required:
$ dvc metrics diff HEAD^^ --to-json
{
{
"file": "metr.json"
"changed": {
"top1-error": {
"old": 0.0385,
"new": 0.0384824,
"diff": 0.0000176
},
"removed": {
"top5-error": {
"old": 0.039221
}
}
"added": {
"loss": {
"new": 0.0384824
}
}
}
pared and jorgeorpinel
Metadata
Metadata
Assignees
Labels
feature requestRequesting a new featureRequesting a new featurep2-mediumMedium priority, should be done, but less importantMedium priority, should be done, but less importantproduct: VSCodeIntegration with VSCode extensionIntegration with VSCode extensionresearch