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 might mean shaving thousands of dollars from 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 artificial intelligence (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.
Using IBM AutoAI, we automate all of the tasks involved in building predictive models for different requirements. You see how AutoAI generates great models quickly, which saves time and effort, and aids in a faster decision-making process. You create a model from a data set that includes the age, gender, BMI, number of children, smoking preferences, region, and charges to predict the health insurance premium cost that an individual pays.
When you have completed this code pattern, you understand how to:
- Quickly set up the services on IBM Cloud to build the model
- Ingest the data and initiate the AutoAI process
- Build different models using AutoAI and evaluate the performance
- Choose the best model and complete the deployment
- Generate predictions using the deployed model by making REST calls
- Compare the process of using AutoAI and building the model manually
- Visualize the deployed model using a front-end application
- The user creates an IBM Watson Studio Service on IBM Cloud.
- The user creates an IBM Cloud Object Storage Service and adds that to Watson Studio.
- The user uploads the insurance premium data file into Watson Studio.
- The user creates an AutoAI Experiment to predict an insurance premium on Watson Studio.
- AutoAI uses Watson Machine Learning to create several models, and the user deploys the best performing model.
- The user uses the Flask web application to connect to the deployed model and predict an insurance charge.
Get detailed instructions in the readme file. Those steps tell you how to:
- Download the data set.
- Clone the repo.
- Explore the data (optional).
- Create IBM Cloud services.
- Create and run AutoAI Experiment.
- Create a deployment and test your model.
- Create a notebook from your model (optional).
- Run the application.