Skip to content

Medical insurance cost prediction react and fastapi progressive web application.

Notifications You must be signed in to change notification settings

anothermorena/Medical-Insurance-Cost-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Summary

In this project, we are going to predict what the medical insurance cost of a person would be. This is a regression problem as the target output is continuous or numeric. Please note that, in real life, different health insurance providers may have different features or data from the one utilized for this project.

Age, Sex (Gender), Bmi (Body Mass Index), Children (number of dependents an insurance policy holder has), Smoker (whether the person smokes or not), and Region (the region the person is from) were the features used for training a linear regression model, which yielded an R2 score of 0.79. Then it is served via a FastAPI server and consumed by a React JS PWA client.

App Screenshots 1

micpa-collage-1

App Screenshots 2

micpa-collage-2

Sequence Diagram

micpa sequence diagram