A Flask web application that predicts whether a patient has a thyroid disorder using machine learning.
🔗 [Coming Soon on Render.com Deployment!]
This project uses machine learning models trained on thyroid disease datasets to predict if a person is suffering from:
- Hyperthyroidism
- Hypothyroidism
- Normal (No Thyroid Issues)
We trained the model using RandomForestClassifier and deployed it using Flask and Gunicorn!
- Python 3.10
- Flask
- scikit-learn
- pandas
- numpy
- pickle
- Gunicorn (for production)
- Render.com (for deployment)
- Data Cleaning
- EDA (Exploratory Data Analysis)
- Feature Engineering
- Model Training
- Hyperparameter Tuning (Grid Search)
- Model Serialization (
pickle)
- Clone the Repository
git clone https://github.com/your-username/thyroid-prediction-system.git
cd thyroid-prediction-system- Create Virtual Environment
python -m venv my_env
.\my_env\Scripts\activate # Windows
# source my_env/bin/activate # Linux/Mac- Install Dependencies
pip install -r requirements.txt- Run Locally
python main.py- Push your code to GitHub.
- Create a new Web Service on Render.
- Connect your GitHub repository.
- Build Command:
pip install -r requirements.txt- Start Command:
gunicorn main:app