Skip to content

kmsuman2705/machine_learning_projects

Repository files navigation

Machine_learning_projects

Start machine learning project.

Software and account Requirement.

  1. Github Account

  2. Heroku Account

  3. VS Code IDE

  4. GIT CLI

  5. GIT Documentation

Creating conda environment

conda create -p venv python==3.7 -y

Conda activate

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

  1. Versel_email =[email protected]
  2. Versel_api_key =ZUtzDDrDR9YJSKZXMlRnBMxt
  3. App_name = suman-kumar-mishras-projects

BUILD DOCKER IMAGE

docker build -t <image_name>:<tagname> .

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 image id

To check running container in docker

docker ps

To stop docker container

docker stop <container_id>
python setup.py install

Install ipykernel

pip install ipykernel

About

This is first machine learning project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published