Click YouTube Play Button to Play Video Demo
Latest Machine Learning Project with Source Code
Medical Insurance Cost Prediction using Random Forest Regressor.
To predict things have been never so easy. I used to wonder how Insurance amount is charged normally. So, in the mean time I came across this dataset and thought of working on it! Using this I wanted to know how few features determine our insurance amount!
Features
- Exploring the dataset
- Converting Categorical values to Numerical
- Plotting Heatmap to see dependency of Dependent valeu on Independent features
- Data Visualization (Plots of feature vs feature)
- Plotting Skew and Kurtosis
- Data Preparation
- Prediction using Linear Regression
- Prediction using SVR
- Prediction using Ridge Regressor
- Prediction using Random Forest Regressor
- Performing Hyper tuning for above mentioned models
- Plotting Graph for all Models to compare performance
- Preparing model for deployment
- Deployed model using Flask
Results
Model gave 86% accuracy for Medical Insurance Amount Prediction using Random Forest Regressor
Dataset
The dataset used can be downloaded here (Kaggle) - Click to Download
Installation Steps :-
- Install Python 3.7.0
- Install all dependencies cmd -python -m pip install --user -r requirements.txt
- Finally run cmd - python app.py