Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Medical Cost Predictive Analysis #487

Merged

Conversation

sitamgithub-MSIT
Copy link
Contributor

Pull Request for ML-Crate 💡

Issue Title: Medical Cost Predictive Analysis

  • Info about the related issue (Aim of the project) : The main goal of this project is to develop a machine learning model that can predict the medical charges of a person based on given features like gender, BMI index, etc.
  • Name: Sitam Meur
  • GitHub ID: sitamgithub-MSIT
  • Idenitfy yourself: KWOC 2023 Participant

Closes: #483

Describe the add-ons or changes you've made 📃

The solution is implemented with technologies like Scikit-learn, Xgboost, and Catboost.
I used Kaggle datasets and split the data into test and training datasets.
Performed the necessary data pre-processing and exploratory data analysis.
Trained models like Gradient Boosting Regressor, Catboosting Regressor, Random Forest Regressor, and more.
I checked the MSE, MAE, RMSE, and R2 scores for trained models.
At the end, the accuracy of the top 3 performed models was compared by line plot, heat map, and distribution plot.

Type of change ☑️

What sort of change have you made:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested? ⚙️

The changes that I have made have been thoroughly tested in my local VS code as well as the Google collab. I also added proper requirements in the requirements.txt file for reproducibility on other machines too. Also, model graphs are added, and the accuracy table of all models is added to prove the working of the code.

Checklist: ☑️

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Copy link

github-actions bot commented Jan 8, 2024

Our team will soon review your PR. Thanks @sitamgithub-MSIT :)

@sitamgithub-MSIT
Copy link
Contributor Author

@abhisheks008 Check out the PR, please!

Copy link
Owner

@abhisheks008 abhisheks008 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nicely done. Your PR is approved and ready to be merged.
@sitamgithub-MSIT

Please share your email ID with me in Discord, for further communication regarding KWOC.

@abhisheks008 abhisheks008 added Approved ✅ This PR is approved by the PR or, Mentors. KWOC 2023 labels Jan 8, 2024
@abhisheks008 abhisheks008 merged commit d8ca5ec into abhisheks008:main Jan 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved ✅ This PR is approved by the PR or, Mentors. KWOC 2023
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Medical Cost Predictive Analysis
2 participants