/Mlops-sklearn-Classification_model-scikit-learn

Python Project structure for MLops workflow, Data versioning and Configuration management

Primary LanguagePython

create a empty project

create env

conda create -n wineq python=3.7 -y

activate env

conda activate wineq

''' create directory structure using Template.py '''

copy Required files from Rakesh mlops Template Folder

created a req file

install the req

pip install -r requirements.txt

download the data from

https://drive.google.com/drive/folders/18zqQiCJVgF7uzXgfbIJ-04zgz1ItNfF5?usp=sharing

git init
dvc init 
dvc add data_given/winequality.csv
git add .
git commit -m "first commit"

oneliner updates for readme

git add . && git commit -m "update Readme.md"
git remote add origin https://github.com/c17hawke/simple-dvc-demo.git
git branch -M main
git push origin main

tox command -

tox

for rebuilding -

tox -r 

pytest command

pytest -v

setup commands -

pip install -e . 

build your own package commands-

python setup.py sdist bdist_wheel

create an artifcats folder

mlflow server command -

mlflow server
--backend-store-uri sqlite:///mlflow.db
--default-artifact-root ./artifacts
--host 0.0.0.0 -p 1234