forked from elleobrien/wine
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
This repository demonstrates how to integrate [GitHub Actions](https://docs.github.com/en/actions) to (upon a new commit): | ||
|
||
- Automatically authenticate `wandb` (Weights and Biases) using a custom GitHub secret. | ||
- Automatically train a small Random Forest Regressor model on the [wine quality dataset](https://www.kaggle.com/uciml/red-wine-quality-cortez-et-al-2009). | ||
- Automatically log the training and other important model metrics to Weights and Biases (`wandb`). | ||
- Automatically log the training and other important model metrics to `wandb`. | ||
- Cache Python dependencies so that old dependencies do not get installed each time a run is triggered. | ||
- Generate a `metrics.csv` file after a run is successfully completed. | ||
|
||
![](https://i.ibb.co/JqZWHDC/image.png) | ||
|
||
The heart of this repository is [this YAML](https://github.com/sayakpaul/wine/blob/wandb-integration/.github/workflows/cml.yaml) file that defines a workflow that runs automatically after a new commit is pushed. | ||
|
||
## Acknowledgements | ||
|
||
[This video](https://www.youtube.com/watch?v=9BgIDqAzfuA) by DVCorg helped me a lot to clear the initial concepts regarding GitHub Actions. |