https://github.com/mrhoban/python-syntax-medical-insurance-project
https://github.com/mrhoban/python-syntax-medical-insurance-project
datascience matplotlib numpy python
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mrhoban/python-syntax-medical-insurance-project
- Owner: MrHoban
- Created: 2025-02-15T17:28:31.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2025-02-15T17:33:51.000Z (12 months ago)
- Last Synced: 2025-02-15T18:30:51.239Z (12 months ago)
- Topics: datascience, matplotlib, numpy, python
- Language: Jupyter Notebook
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python-Syntax-Medical-Insurance-Project
a Python project involving building a basic medical insurance cost estimator. Here’s how I broke it down and what you can do to complete this project.
Define Variables
In this project, you’ll likely be calculating insurance cost based on these factors:
age – the person’s age
sex – either 0 for female or 1 for male
bmi – Body Mass Index
children – number of children they have
smoker – 0 for non-smoker, 1 for smoker
Step 2 was to create a formula,
Step 3 was building a baisc Python Script however I have previous expierence with Python and Data Science so I went for something more advanced. I added a Plot Result.
Here are the plots:
Insurance Cost vs Age: Shows how insurance cost increases with age.
Insurance Cost vs BMI: Highlights the impact of BMI on insurance cost.
Be Sure to have Python installed and Pip Install Matplotlib and pip install numpy!!
Thank you :)