--- title: InsuranceChargesPrediction emoji: 🩺 colorFrom: blue colorTo: green sdk: docker app_port: 8501 tags: - streamlit pinned: false short_description: Predicts medical insurance charges using a Gradient Boosting license: mit --- # 🩺 Insurance Charges Predictor This app predicts **medical insurance charges** using a trained **Gradient Boosting regression model**. The user can enter basic personal information, and the app will estimate the expected insurance cost. --- ## 🔍 What the App Does - Predicts medical insurance charges - Uses a machine learning regression model - Shows fast and simple predictions --- ## 📊 Input Features The model uses the following inputs: - **Age** - **Sex** - **BMI (Body Mass Index)** - **Number of Children** - **Smoker (Yes / No)** - **Region** --- ## 📈 Output - Estimated insurance charges --- ## 🧠 Model Information - Model: **Gradient Boosting Regressor** - Type: Regression - Trained on an insurance dataset - Smoking, BMI, and age are the most important features --- ## 📁 Project Files - `app.py` – Streamlit application - `gb_model.pkl` – Trained model - `requirements.txt` – Required Python packages --- ## ▶️ Run the App Locally ```bash pip install -r requirements.txt streamlit run app.py