-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Back-fill metrics #4210
Comments
More context: https://discuss.dvc.org/t/fill-back-metrics/441/3 |
Since the metrics file didn't exist in previous commits, one way is by using
This is limited to a relatively small number of commits, though. |
A more advanced solution (not exclusive with the previous one), would be for DVC to actually back-fill the metrics to previous commits by itself, by trying to run the metrics-generating stage (in commit But it would only support workspace versions where all the dependencies for this metrics-generating stage exist, possibly just skipping the commits where that's not the case. |
Thanks, I'll give it a shot. |
Closing as stale. |
Say I am maintaining some data using dvc, and at some point decide I want to have a metric showing some data statistics (i.e. track how many positive samples I have). So I create a pipeline that computes this metric. How do I back-fill it to previous commits? The goal is to plot a graph showing this metric at different stages of the project.
Specifically: If the commit history is A->B->master, I know I can checkout data-commit 'A' and run the pipeline, but I won't be able to save the metric output for commit 'A' in the context of commit 'A', right? At most I will be able to commit it in a new commit (A') whose parent is 'A'. It would have been better if I could have committed it to 'A' directly. Why? Because A' is not an ancestor of 'master', so it's not naturally included in the development of my data.
The text was updated successfully, but these errors were encountered: