Skip to content

vampire-debug/MediSense-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

MediSense-AI

🩺 MediSense AI - Intelligent Healthcare Prediction System

MediSense AI Python Streamlit Machine Learning

🌐 Live Demo

πŸš€ Streamlit Application:
https://medisense-ai-2026.streamlit.app/


πŸ“Œ Overview

MediSense AI is an AI-powered healthcare prediction system designed to assist users in early disease risk assessment using Machine Learning.

The platform analyzes patient health parameters and provides intelligent predictions along with data-driven insights through an interactive web interface.

The goal of MediSense AI is to demonstrate how Artificial Intelligence can support healthcare decision-making by enabling faster preliminary screening and awareness.

⚠️ Disclaimer: MediSense AI is a prediction-support tool and not a replacement for professional medical diagnosis.


🎯 Key Features

🧠 Machine Learning Prediction Engine

  • Trained ML models for healthcare risk prediction
  • Real-time prediction based on user input
  • Optimized preprocessing pipeline

πŸ“Š Interactive Dashboard

  • User-friendly Streamlit interface
  • Visual representation of health parameters
  • Instant prediction results

πŸ“ˆ Data Analysis

  • Exploratory Data Analysis (EDA)
  • Statistical insights
  • Feature importance analysis

⚑ Fast Deployment

  • Cloud deployment using Streamlit Community Cloud
  • Lightweight architecture
  • Easy accessibility through browser

πŸ—οΈ System Architecture

                 User
                  |
                  |
          Streamlit Web Interface
                  |
                  |
          Input Validation Layer
                  |
                  |
        Data Preprocessing Pipeline
                  |
                  |
        Machine Learning Model
                  |
                  |
          Prediction Engine
                  |
                  |
       Result Visualization Dashboard
                  |
                  |
              User Output

πŸ”„ System Workflow

1. User enters healthcare parameters
                |
                ↓
2. Input data is validated
                |
                ↓
3. Data preprocessing is performed
   - Handling missing values
   - Feature transformation
   - Scaling/encoding
                |
                ↓
4. Processed data is passed to ML model
                |
                ↓
5. Model generates prediction
                |
                ↓
6. Results displayed through Streamlit dashboard

🧩 Project Architecture

MediSense-AI
β”‚
β”œβ”€β”€ app.py                     # Streamlit application
β”‚
β”œβ”€β”€ models/
β”‚   └── trained_model.pkl      # ML model
β”‚
β”œβ”€β”€ data/
β”‚   └── dataset.csv            # Healthcare dataset
β”‚
β”œβ”€β”€ notebooks/
β”‚   └── model_training.ipynb   # Model experimentation
β”‚
β”œβ”€β”€ requirements.txt           # Dependencies
β”‚
β”œβ”€β”€ README.md
β”‚
└── .gitignore

πŸ› οΈ Tech Stack

Programming Language

  • Python

Frontend

  • Streamlit

Machine Learning

  • Scikit-Learn
  • NumPy
  • Pandas
  • Joblib

Data Visualization

  • Plotly
  • Matplotlib
  • Seaborn

Development Environment

  • Jupyter Notebook
  • VS Code

Deployment

  • Streamlit Community Cloud

πŸ€– Machine Learning Pipeline

1. Data Collection

Healthcare dataset containing relevant patient attributes is used for model development.

2. Data Preprocessing

Steps performed:

  • Data cleaning
  • Missing value handling
  • Feature selection
  • Data transformation
  • Feature scaling

3. Model Training

Multiple ML algorithms were evaluated and the best-performing model was selected.

Pipeline:

Dataset
   |
   ↓
Preprocessing
   |
   ↓
Feature Engineering
   |
   ↓
Model Training
   |
   ↓
Evaluation
   |
   ↓
Model Deployment

4. Model Deployment

The trained model is serialized using Joblib and integrated into the Streamlit application.


πŸ“Š Performance Evaluation

The model was evaluated using:

  • Accuracy
  • Precision
  • Recall
  • F1 Score
  • Confusion Matrix

These metrics help measure prediction reliability and model performance.


βš™οΈ Installation & Setup

Clone Repository

git clone https://github.com/yourusername/MediSense-AI.git

Navigate to Project

cd MediSense-AI

Create Virtual Environment

python -m venv .venv

Activate environment:

Windows:

.venv\Scripts\activate

Linux/Mac:

source .venv/bin/activate

Install Dependencies

pip install -r requirements.txt

Run Application

streamlit run app.py

Application will open at:

http://localhost:8501

πŸ” Future Enhancements

  • Integration with Large Language Models (LLMs)
  • AI medical assistant chatbot
  • Explainable AI (SHAP/LIME)
  • Patient history tracking
  • Cloud database integration
  • Mobile application support

🌟 Future Vision

MediSense AI aims to evolve into an AI healthcare assistant combining:

  • Machine Learning
  • Generative AI
  • Medical Knowledge Retrieval
  • Personalized Health Insights

to make healthcare information more accessible.


πŸ‘¨β€πŸ’» Author

Dhruv Sharma

Computer Science Engineering Student

GitHub: https://github.com/vampire-debug

LinkedIn: https://linkedin.com/in/dhruv-sharma1220


⭐ Support

If you found this project interesting, consider giving it a ⭐ on GitHub.

About

MediSense AI is an AI-powered healthcare assistance platform designed to help users analyze medical symptoms and predict potential health risks using machine learning. The system integrates data-driven prediction models, interactive visualizations, and an intuitive Streamlit interface to provide users with personalized health insights.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages