Skip to content

mayurborkar/Credit-Risk-MLOPS

Repository files navigation

Create Environment

conda create -n env_name python==3.7

Create Templates.py File

The Given File Can Be Used To Create The Project Structure

Create Requirements.txt File & Install All Dependency

pip install -r requirements.txt

Steps For DVC & Git Utilization

git init
dvc init
dvc add data_given\Database_Credit.csv
git add . && git commit -m "Frist Commit"
git remote add origin https://github.com/mayurborkar/Credit-Risk-MLOPS.git
git branch -M main && git push -u origin main

After Creating Every Stage In DVC.yaml File Use below Command

dvc repro

Checking Metrics In DVC

dvc metrics show

Checking The Difference In Metrics

dvc metrics diff

Tox

Tox Can Be Used For Creating The Virtual Env. In that We Can Test Our Test Cases That Are We Mention in The test Folder.

tox

If You Had Done Some Changes In Requirements File. If You Want To Run Again Tox Command For That

tox -r

We Can Also Run Directly test Cases With The Help Of Below Command

pytest -v

To Create The Standard pypi package, there is command

python setup.py sdist bdist_wheel

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published