Skip to content

imBharathkumarp/Thyroid-Prediction-System

Repository files navigation

🧠 Thyroid Disease Prediction System

A Flask web application that predicts whether a patient has a thyroid disorder using machine learning.

Python Flask scikit-learn


🚀 Project Demo

🔗 [Coming Soon on Render.com Deployment!]


📋 Project Overview

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!


📦 Folder Structure


🛠️ Technologies Used

  • Python 3.10
  • Flask
  • scikit-learn
  • pandas
  • numpy
  • pickle
  • Gunicorn (for production)
  • Render.com (for deployment)

📈 Model Building Process

  • Data Cleaning
  • EDA (Exploratory Data Analysis)
  • Feature Engineering
  • Model Training
  • Hyperparameter Tuning (Grid Search)
  • Model Serialization (pickle)

📜 Installation Guide

  1. Clone the Repository
git clone https://github.com/your-username/thyroid-prediction-system.git
cd thyroid-prediction-system
  1. Create Virtual Environment
python -m venv my_env
.\my_env\Scripts\activate   # Windows
# source my_env/bin/activate   # Linux/Mac
  1. Install Dependencies
pip install -r requirements.txt
  1. Run Locally
python main.py

⚙️ Deployment Guide (Render.com)

  • 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

⭐ Show your support

If you like this project, kindly ⭐ the repo to support me!

About

A Thyroid Prediction System is a Python Healthcare system which user inputs values and the system will detect the Disease

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published