This is machine learning wep app that used to Predict the health disease like Diabetes, Heart, Kidney, Liver, Breast cancer, Stroke.
Diabetes is a chronic (long-lasting) health condition that affects how your body turns food into energy. Your body breaks down most of the food you eat into sugar (glucose) and releases it into your bloodstream.
The term “heart disease” refers to several types of heart conditions. The most common type of heart disease in the United States is coronary artery disease (CAD), which affects the blood flow to the heart. Decreased blood flow can cause a heart attack.
Chronic kidney disease, also called chronic kidney failure, involves a gradual loss of kidney function. Your kidneys filter wastes and excess fluids from your blood, which are then removed in your urine. Advanced chronic kidney disease can cause dangerous levels of fluid, electrolytes and wastes to build up in your body.
Liver disease doesn't always cause noticeable signs and symptoms. If signs and symptoms of liver disease do occur, they may include: Skin and eyes that appear yellowish (jaundice) Abdominal pain and swelling. Swelling in the legs and ankles.
Breast cancer can occur in women and rarely in men.Symptoms of breast cancer include a lump in the breast, bloody discharge from the nipple and changes in the shape or texture of the nipple or breast.Its treatment depends on the stage of cancer. It may consist of chemotherapy, radiation, hormone therapy and surgery.
A stroke, sometimes called a brain attack, occurs when something blocks blood supply to part of the brain or when a blood vessel in the brain bursts. In either case, parts of the brain become damaged or die. A stroke can cause lasting brain damage, long-term disability, or even death.
• https://health-lab.herokuapp.com/
- Data Collection
- Data Analysis
- Data Visualization
- Feature Engineering
- Feature Selection
- Model Building
- Model Evalution
- Hyper Parameter Tunning
- Creating Pickle file
- Web App using Flask
- Deployment
python packages: Pandas, Numpy, Scikit-learn, matplotlib
ML Algorithms: GradientBoost,RandomForest
Framework: Flask
frontend: Html, CSS
Clone the project
git clone https://github.com/KaushalSalvatore/health-lab-project.git
Install dependencies
pip install -r requirements. txt
Start the local server
Python server.py or server.py
To deploy this project on github use this following command in the project folder.
Initializing a new repository
git .init
A gitignore file specifies intentionally untracked files that Git should ignore.
touch .gitignore
Add all the files
git add .
Check file status
git status
Commit all the file on git
git commit -m "your message"
Push all the code on github
git push <your_branch_name>
Push code forcefully
git push origin <your_branch_name> --force
To deploy project on heroku server use this following command.
login in heroku server
login heroku
Install gunicorn
pip install gunicorn
Create procfile
touch Procfile
Create requirements text file
pip freeze > requirements.txt
Creates a new empty application on Heroku
heroku create -a "project name"
Add a remote to your local repository
git remote -v
push the code in heroku master branch
git push heroku master
if you have any suggetion and feedback and need any kind of project related help reach me out at linkedin