This project uses a real-world dataset to predict individual medical insurance costs using linear regression. We explore how demographic and lifestyle factors — such as age, BMI, and smoking status — influence charges.
- Data cleaning and exploratory analysis
- Correlation heatmap and feature encoding
- Linear regression model training and testing
- Model performance metrics: R² and MSE
- Visual comparison of actual vs predicted charges
- Python
- Pandas, NumPy
- Matplotlib, Seaborn
- Scikit-learn
- Jupyter / Google Colab
Insurance_Predictor.ipynb: Final notebookinsurance.csv: Datasetactual_vs_predicted.png: Visualizationreport.pdf: APA-style write-uprequirements.txt: Project dependencies
- R² Score: 0.78
- MSE: 33.6 million
- Top Features: Smoking status, Age, BMI
Billy Pierre
LinkedIn