GithubHelp home page GithubHelp logo

datadevx / insurance-charges-web-application Goto Github PK

View Code? Open in Web Editor NEW

This project forked from memudualimatou/insurance-charges-web-application

0.0 1.0 0.0 1.92 MB

Jupyter Notebook 98.61% Python 0.71% HTML 0.35% CSS 0.34%

insurance-charges-web-application's Introduction

INSURANCE CHARGES PREDICTION SYSTEM

This is a charge prediction system. The aim is to predict individual insurance charges based on their status


๐Ÿ˜‡ INSPIRATION

The purposes of this Project to look into different features to observe their relationship, and plot a regression algorithm based on several features of individual such as age, physical/family condition and location against their existing medical expense to be used for predicting future medical expenses of individuals that help medical insurance to make decision on charging the premium.The dataset has 7 coloumns which are age,sex,region,charges,numberOfChildren, smoke and BMI which is Body mass index (BMI) is a measure of body fat based on height and weight that applies to adult men and women. BMI= m/h^2 where m = mass (in kilograms) h = height (in meters)



โš™๏ธ HOW DOES THE INSURANCE CHARGES PREDICTION SYSTEM WORKS?

This sytem is a flask responsive web application hosted on heroku. The user has to input some data and get the predicted charges immediately. The system's interface is built using using HTML & CSS from scratch.Everything is all about preferences but I will personnaly prefer to style my web app than using the plain streamlit interface. So We use randomforestRegression algorithm to build the model, sterialize it and destrerialize it using Pickle to make prediction. Whenever a user enter the correspondant input through the interface, at the backend , a function in the flask app is called to fetch the inputted data, clean it and displayed the predicted outcome.

The system depends on the following files.

  1. insurance.csv See here :The system database CLICK HERE TO DOWNLOAD
  2. insurances.ipynb See here :The model notebook
  3. insurances.py See here: The model python file
  4. app.py See here: The flask app
  5. index.html See here: The html file is located insite the Templates folder
  6. AppStyle.css See here: The css file is located inside the static folder.


โš ๏ธ THE TECHNOLOGY

โŒ› Project Demo


DEPLOYED ON HEROKU | CLICK HERE TO TEST THE SYSTEM

capture


๐Ÿ”‘ Prerequisites

All the dependencies and required libraries are included in the file requirements.txt See here: The css file located inside the static foler.

๐Ÿš€ INSTALLATION

Clone the repo
$ https://git.heroku.com/insurance-charges-web-app.git

Now, run the following command in your Terminal/Command Prompt to install the libraries required

$ pip3 install -r requirements.txt

๐Ÿ‘ And it's done!

Feel free to mail me for any doubts/query โœ‰๏ธ [email protected]

โค๏ธ Owner

Made with โค๏ธ by MEMUDU Alimatou Sadia Anike.

insurance-charges-web-application's People

Contributors

memudualimatou avatar

Watchers

James Cloos 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.