experiments: add --show-json for exp show
#4689
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
β I have followed the Contributing to DVC checklist.
π If this PR requires documentation updates, I have created a separate PR (or issue, at least) in dvc.org and linked it here.
Thank you for the contribution - we'll try to review it as soon as possible. π
Will close #4688.
Indented output for
dvc exp show --show-jsonin the same project:{ "workspace":{ "baseline":{ "timestamp":null, "params":{ "params.yaml":{ "prepare":{ "split":0.2, "seed":20170428 }, "featurize":{ "max_features":2000, "ngrams":2 }, "train":{ "seed":20170428, "n_estimators":50 } } }, "queued":false, "metrics":{ "scores.json":{ "auc":0.5775633054725381 } } } }, "9e0cd8a4f9eff4dd184470721da42ac4eb64fd2c":{ "baseline":{ "timestamp":"2020-06-20T06:45:46", "params":{ "params.yaml":{ "prepare":{ "split":0.2, "seed":20170428 }, "featurize":{ "max_features":1500, "ngrams":2 }, "train":{ "seed":20170428, "n_estimators":50 } } }, "queued":false, "metrics":{ "scores.json":{ "auc":0.6131382960762474 } }, "name":"11-bigrams-experiment" }, "1df77f701b1f73e79df68513676631db8bd59636":{ "timestamp":"2020-10-09T14:29:23", "params":{ "params.yaml":{ "prepare":{ "split":0.2, "seed":20170428 }, "featurize":{ "max_features":500, "ngrams":2 }, "train":{ "seed":20170428, "n_estimators":50 } } }, "queued":false, "metrics":{ "scores.json":{ "auc":0.5167645657589519 } } }, "1dad0d2bd1ee6dced3a676e5cb672522e9e6406a":{ "timestamp":"2020-10-09T14:29:49", "params":{ "params.yaml":{ "prepare":{ "split":0.2, "seed":20170428 }, "featurize":{ "max_features":2000, "ngrams":2 }, "train":{ "seed":20170428, "n_estimators":50 } } }, "queued":false, "metrics":{ "scores.json":{ "auc":0.5775633054725381 } } }, "5a9d6dc5056efa1310cd9afb61f437680f38b1af":{ "timestamp":"2020-10-09T14:29:53", "params":{ "params.yaml":{ "prepare":{ "split":0.2, "seed":20170428 }, "featurize":{ "max_features":2000, "ngrams":2 }, "train":{ "seed":20170428, "n_estimators":50 } } }, "queued":true } } }