Now, let's play with the metrics functionality, as follows:
- First, we'll tag our current version to name it, so we can navigate and understand what is inside each commit (metrics are always tracked, but the command-line interface will show them for either tagged commits or branches):
git tag -m leaders -a "basic-features-and-leaders"
- Now, for the sake of testing, let's test our model without the leaders feature; just temporarily remove the corresponding feature from the list of features to use, which we defined in the code. Now, let's reproduce the model:
dvc repro
- Once the new model is done, we commit changes and tag a new commit:
git commit -m "same model with no leader features";git tag -m no-leaders -a "basic-features" ...