All The Command Write In Bash Terminal
1. Create Conda Env In Current Local Disk
conda create --prefix ./env python=3.7 -y
3. Create template.py & Requirements.txt File
4. Initialize The Git and DVC & Add Data
dvc add data_given/EnergyData.csv
git add . && git commit -m "First Commit" && git branch -M main
git remote add origin https://github.com/mayurborkar/Energy_MLOPS.git && git push origin main
5. Write down the params.yaml File As Your Configuration File
6. Create Python File Including Reading Data To Model Building Inside src Folder
7. Side By Side Fill Up The dvc.yaml File With The Stage Name & Execute The Below Command. No Need To Executive Separate Command For src Python File
8. TO Check The Difference In Score You Can See It By Below Command
9. To Check THe Metrics You Can Used
10. Tox Can Create The Virtual Env For Testing Purpose. So Create The Tox File
11. Then Create The tests Folder and Create The File Inside That
touch tests/conftest.py tests/test_config.py tests/__init__.py
12. After Write It Down Test Code In test_config.py File Execute Below Command
13. If You Update Requirements File You Can Execute Below Command
14. To Execute The Setup.py File
15. To Create The Package of You src File For That
python setup.py sdist bdist_wheel