Financial threats are displaying a trend about the credit risk of commercial banks as the incredible improvement in the financial industry has arisen. In this way, one of the biggest threats faces by commercial banks is the risk prediction of credit clients. The goal is to predict the probability of credit default based on credit card owner's characteristics and payment history.
- Github Account [https://github.com/]
- Heroku Account [https://dashboard.heroku.com/login]
- VS Code IDE [https://code.visualstudio.com/download]
- GIT cli [https://git-scm.com/downloads]
- GIT Documentation [https://git-scm.com/docs/gittutorial]
Creating conda environment
conda create -p venv python==3.7 -y
conda activate venv/
OR
conda activate venv
pip install -r requirements.txt
To Add files to git
git add .
OR
git add <file_name>
Note: To ignore file or folder from git we can write name of file/folder in .gitignore file
To check the git status
git status
To check all version maintained by git
git log
To create version/commit all changes by git
git commit -m "message"
To send version/changes to github
git push origin main
To check remote url
git remote -v
To setup CI/CD pipeline in heroku we need 3 information
- HEROKU_EMAIL = [email protected]
- HEROKU_API_KEY = <>
- HEROKU_APP_NAME = ml-credit-default-application
BUILD DOCKER IMAGE
docker build -t <image_na Note: Image name for docker must be lowercase
To list docker image
docker images
Run docker image
docker run -p 5000:5000 -e PORT=5000 f8c749e73678
To check running container in docker
docker ps
Tos stop docker conatiner
docker stop <container_id>
python setup.py install
Install ipykernel
pip install ipykernel