GithubHelp home page GithubHelp logo

sonu275981 / insurance-prediction Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 632 KB

Exploratory Data Analysis & predicting medical insurance cost with machine learning.

Jupyter Notebook 100.00%
insurance insurance-premium-predictor python random-forest linear-regression mse machine-learning r2score

insurance-prediction's Introduction

Insurance prediction

As shown above, this Project leverages machine learning models to predict your insurance charges, and helps the customer understand how smoking or decreasing your BMI affects insurance premiums.

As we see the value of gross insurance premiums worldwide continue to skyrocket past 5 trillion dollars, we know that most of these costs are preventable. For example, just by eliminating smoking, and lowering your BMI by a few points could mean shaving thousands of dollars off of your premium charges. In this application, we study the effects of age, smoking, BMI, gender, and region to determine how much of a difference these factors can make on your insurance premium. By using our application, customers see the radical difference their lifestyle choices make on their insurance charges. By leveraging AI and machine learning, we help customers understand just how much smoking increases their premium, by predicting how much they will have to pay within seconds.

Project Overview

  • Seek insight from the dataset with Exploratory Data Analysis
  • Performed data processing, data engineering to prepare data before modeling
  • Built a model to predict Insurance Cost based on the features

Data Processing

  • Check missing value - there are none
  • Feature transformation Encoding sex, region Ordinal encoding smoker
  • Modeling - Separating target & features - Splitting train & test data
  • Modeling using Linear Regression, Random Forest, Decision Tree algorithm

Conclusion

Based on the predictive modeling, Decision Tree algorithm has the best score compared to the others, Decision Tree algorithm is fit based on the train & test accuracy.

insurance-prediction's People

Contributors

sonu275981 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.