DEV Community

Amadu Hamza
Amadu Hamza

Posted on

How I helped an insurance company to solve its problem using Machine Learning

ACME Insurance Inc. is an insurance company that offers affordable health insurance to thousands of customer all over the United States. The company sometimes find it difficult to estimate prices for new customers.

The company always use certain important criteria in estimating prices for new client by always referring back to similar previous historic data and thats quiet time wasting and the accuracies may be unusual. The goal of this project is to help the company way of achieving high accuracy in estimating the annual medical charges of their clients and to also save time. 

I created automated system to estimate the annual medical expenditure for new customers, using information on same criteria or inputs they always use in estimation of their annual charges for thier customers.

The verified historical data of the company was available, consisting actual medical charges incurred by over 1300 customers. But it was difficult to understand the usage trends by age, sex, BMI, smoking habit and location across the regions. with the dataset in hand, I processed the data and performed Exploratory data analysis(EDA) on it.
after, I did the following to achieve my goal ;

  1. Explore the data and find correlations between inputs and targets
  2. Pick the right model, loss functions and optimizer for the problem at hand
  3. Scale numeric variables and one-hot encode categorical data
  4. Set aside a test set (using a fraction of the training set)
  5. Train the model
  6. Make predictions on the test set and compute the loss

Through the project, I learned a lot, from understanding the domain of the dataset to model creation in Jupyter notebook using python and it libraries.

I also worked to gather feedback on the project and made suggestions to the decision makers of the company to know the right things to work on #dataanalysis #machinelearning #datascience

Image description

Top comments (0)