-
Notifications
You must be signed in to change notification settings - Fork 394
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
Plots #1186
Conversation
@jorgeorpinel and @shcheklein for some reason I don't see |
@dmpetrov yep, update sidebar.json - that should do the trick. |
Thank you @shcheklein ! Forgot about this :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small preemptive review of the dvc plot intro.
Please let us know when this is ready for full review.
@jorgeorpinel thank you for the small changes. I'm waiting for a bugfix while I can add one more part about the plot templates. It would be great to make review now. I'll incorporate the template later right here or as a separate PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left few comments
@jorgeorpinel and @pared pushed all the changes. Please take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, another round of review on the basics of each document.
I didn't go into some details like Options and Examples but I can if you want.
We can also take this over when needed. Please lmk
## Description | ||
|
||
DVC provides a set of commands to visualize continuous metrics of machine | ||
learning experiments in. Usual examples of plots are AUC curves, loss functions, | ||
and confusion matrices. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should just jump into explaining what continuous metrics are right here on the top of the description, and remove the Continuous metrics H3 header. Start with the
In contrast to [scalar metrics](/doc/command-reference/metrics), continous metrics represents a plot and ...
paragraph that's much further down rn. Idk if we need to explain scalar metrics here, probably not?
And just link to /doc/command-reference/plot
directly from places where [continuous metrics]
are mentioned.
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All points are great! I rearranged this part. Please take a look.
It is still important to keep the scalars vs continuous difference somewhere. I keep it as a next section but rearranged from the plot point of view.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is still important to keep the scalars vs continuous difference somewhere
I agree! But I think the scalar metrics should be explained in the description of dvc metrics
cmd ref index, and just mention the word here with a link to there, without explaining. But OK I guess that can be a separate issue (to match dvc metrics with this ref)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- p.s. unresolving for myself to remember about "that can be a separate issue (to match dvc metrics with this ref)"
@jorgeorpinel thank you for the review. Please take a look at the changes. |
No problem. I resolved all the parts of the review that are now addressed or no longer relevant, and added one more comment. Still haven't reviewed everything in detail (options, examples) is it a good time to do so? And again, I can take this over at some point if needed, lmk guys cc @ivan |
@jorgeorpinel wrong what is the status of this? |
I keep doing that...
Some review items are still pending. Are we taking it over yet? |
@jorgeorpinel I trust you on making this call :) don't have enough context on this. |
@shcheklein and @jorgeorpinel I just updated it:
Please take a look, |
# plot diff | ||
|
||
Show multiple versions of | ||
[continuous metrics](/doc/command-reference/plot#continous-metrics) by plotting |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder whether we want to name them continuous
. This word applies to functions. What about, for example, confusion matrix? Data for that type of plot is not continuous.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed with @pared . Probably even plain explicit "non-scalar metric" would be better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah. it will be changed. all the terminology around continuous will be removed in the next iteration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- So let's leave "continuous" in this PR so we have a plot cmd ref for now, and update it in a following PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some items pending but this whole doc needs another pass anyway so approving. Let's merge and address the stuff pending (below) along with the next PR?
-
scalar metrics (now "scores") should be explained in the description of
dvc metrics
cmd ref index, and just mention the term in the plot/index Description with a link to there, without explaining (from Plots #1186 (comment)) -
Suggestions about terms "array" and "series: Plots #1186 (comment), Plots #1186 (comment), and Plots #1186 (comment)
These could be just committed now before merge if you agree with them.
-
Remove term "continuous" (from Plots #1186 (review))
-
Explain plot templates! See Metrics - plotting for multiple revisions initial dvc#3577 (comment) and link to cmd ref from DVC output (core repo, see Metrics - plotting for multiple revisions initial dvc#3577 (review))
Plot metrics.
Related to iterative/dvc#3409