Preface
I wrote a text blog about building a Cookie-ML V2.0 which you can find th elink here Cookie V2.0
Why Re-write it again
This is a new format which I am testing , it is called Rustimate Guide. My attempt to make this more interesting.
Introduction
I go by one simple principle…
If you repeat the same steps twice, then automate it the third time.
Project Structure
Here’s the structure I use for all my ML projects. These are pretty standard ones.
Here’s the top - main folder structure
Script
One of the main pre-requisites for this script is pyyaml.
You can find the documentation here. Install them via pip.
Argparse
Everything starts with the main function. It uses argparse to parse command line arguments provided to the script. It then loads the yaml config file. Check out highlighted line 3 & 5.
Checking Here
Your browser does not support the video tag.
Where us this file?
File and Directories
Based on how YAML is structured, the script will create files, directories and sub-directories via a function create_directories. Line 1 and 4 is highlighted for reference.
Your browser does not support the video tag.