reenal / diabetes-detection

this repo is for diabetes-detection using machine learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

diabetes-detection

this repo is for diabetes-detection (type 2) using machine learning and create docker images

for building a docker images we need to install docker

here iam using flasgger for ui

for windows:

https://download.docker.com/win/stable/Docker%20Desktop%20Installer.exe

after installing build a docker images

clone this repo by using git.

step1 :

go to /app folder

and then excute commands:

docker build -t diabetis:v1 . #note v1 '.' is necessary

docker -d -p 5000:5000 --name diabetis diabetis:v1

see if you want to see output remove -d from dcoker build

docker commands:

docker images # to see the images

docker ps # to see the running contaiers

docker ps -a # to see all containers

docker rmi # to remove the image

docker rm -f $(docker ps -a -q) # to remove alll containers

docker rmi -f $(docker images -q) # to remove all images

docker exec -it /bin/bash # to login to container

note:

if u are using loadbalancer in cloud then change nodeport to loadbalancer in diabetis.yaml

About

this repo is for diabetes-detection using machine learning


Languages

Language:Jupyter Notebook 99.6%Language:Python 0.4%Language:Dockerfile 0.0%