Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vijaymakkad/health-insurance-prediction
https://github.com/vijaymakkad/health-insurance-prediction
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/vijaymakkad/health-insurance-prediction
- Owner: VijayMakkad
- Created: 2024-03-12T15:09:59.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-12T17:01:31.000Z (11 months ago)
- Last Synced: 2024-11-06T23:22:52.913Z (3 months ago)
- Language: Jupyter Notebook
- Size: 1.3 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Health Insurance Prediction using Linear Regression
This repository contains the code for predicting health insurance charges using linear regression. The model is built using the data set named `medical.csv`, which is already included in the code.
## Overview
Health insurance charges can vary significantly depending on various factors such as age, BMI, smoking habits, region, etc. Predicting these charges accurately can help insurance companies and individuals in making informed decisions regarding insurance coverage and premiums.
In this project, we utilize linear regression to predict health insurance charges based on a set of features extracted from the `medical.csv` dataset.
## Data
The `medical.csv` dataset contains the following columns:
- Age: Age of the individual
- Sex: Gender of the individual (male/female)
- BMI: Body Mass Index of the individual
- Children: Number of children/dependents covered by the insurance
- Smoker: Whether the individual is a smoker or not (yes/no)
- Region: The region where the individual resides
- Charges: Health insurance charges incurred by the individual## Requirements
To run the code in this repository, you'll need:
- Python 3.x
- Jupyter Notebook
- Libraries: Pandas, NumPy, Matplotlib, Seaborn, Scikit-learnYou can install the required libraries using pip:
```
pip install pandas numpy matplotlib seaborn scikit-learn
```## Usage
1. Clone the repository:
```
git clone https://github.com/VijayMakkad/Health-Insurance-Prediction
```2. Navigate to the repository directory:
```
cd health-insurance-prediction
```3. Open the Jupyter Notebook file `insurance_prediction_LinearR.ipynb`:
```
jupyter notebook Health_Insurance_Prediction.ipynb
```4. Follow the instructions provided in the notebook to train the linear regression model and make predictions.
## Results
The trained linear regression model achieves a certain level of accuracy in predicting health insurance charges based on the provided features. The results and evaluation metrics are discussed in detail within the Jupyter Notebook.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
---