The Medical Insurance Cost Forecast Model utilizes machine learning techniques to predict insurance costs based on individual characteristics such as age, sex, BMI, number of children, smoking status, and region. Deployed using Streamlit, the application offers an intuitive interface for users to input their information and receive instant insurance cost predictions.
The Medical Insurance Cost Forecast Model is designed to assist individuals in estimating their medical insurance expenses by analyzing various factors affecting insurance premiums.
-
Dataset: Utilized a comprehensive dataset containing historical insurance data, including attributes such as age, sex, BMI, and insurance costs.
-
Feature Engineering: Preprocessed the data by handling missing values, encoding categorical variables, and scaling numerical features to prepare it for model training.
-
Model Selection: Employed a linear regression model to train the insurance cost prediction model due to its simplicity and interpretability.
-
Model Training: Trained the linear regression model on the preprocessed dataset to learn relationships between input features and insurance costs.
-
Streamlit Interface: Developed an interactive user interface using Streamlit, allowing users to input their personal details and receive real-time insurance cost predictions.
-
Cost Prediction: Upon user submission, the application processes the input data using the trained linear regression model to predict the individual's expected medical insurance costs.
This project aims to provide individuals with a convenient tool for estimating their potential medical insurance costs, enabling them to make informed decisions about their insurance coverage.
Follow these steps to set up and run the project locally:
-
Clone the Repository: Clone this repository to your local machine.
git clone https://github.com/drstrange102/Medical-Insurace-Cost-Forecast.git
-
Install Dependencies: Install Python 3.10 and all additional dependencies listed in the requirements.txt file.
pip install -r ./requirements.txt
-
Run the Streamlit App: Open a terminal and navigate to the project directory. Then, run the Streamlit app.
streamlit run app.py
The Streamlit app will be hosted on localhost:8501.
Contributions from the developer community are welcome to enhance and refine the Medical Insurance Cost Forecast Model. You can contribute by forking the repository, submitting issues, and creating pull requests to improve the project's functionality and user experience.🎬✨
Explore the live version of the Medical Insurance Cost Forecast Model on this URL
