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

Increasing model performance using hyperparameter tuning #1157

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

PrasDev4
Copy link
Contributor

@PrasDev4 PrasDev4 commented Jan 13, 2025

Pull Request for PyVerse 💡

Requesting to submit a pull request to the PyVerse repository.


Issue Title

Enhancing Diabetes Prediction Accuracy Through Hyperparameter Tuning in Random Forest.

  • I have provided the issue title.

Info about the Related Issue

What's the goal of the project?
The goal is to enhance the accuracy of the diabetes prediction model by implementing hyperparameter tuning using GridSearchCV on the Random Forest algorithm and visualizing the impact of the tuned parameters.

  • I have described the aim of the project.

Name

PRASANNA DEVIREDDY

  • I have provided my name.

GitHub ID

PrasDev4

  • I have provided my GitHub ID.

Email ID

[email protected]

  • I have provided my email ID.

Identify Yourself

SWOC

  • I have mentioned my participant role.

Closes

Closes: #1157

  • I have provided the issue number.

Describe the Add-ons or Changes You've Made

I have implemented hyperparameter tuning using GridSearchCV for the Random Forest classifier to optimize model parameters (n_estimators, max_depth, and min_samples_split). I have also added a visualization comparing model accuracy before and after tuning to showcase the improvement.

  • I have described my changes.

Type of Change

New feature (non-breaking change which adds functionality)

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

The changes have been tested on the diabetes dataset by splitting it into training and testing sets. The accuracy scores for both the untuned and tuned models were calculated and validated using visualizations.

  • I have described my testing process.

Checklist

Please confirm the following:

  • 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

👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly!

Feel free to join our community on Discord to discuss more!

@UTSAVS26
Copy link
Owner

@PrasDev4 did you raise the issue first?

@PrasDev4
Copy link
Contributor Author

yes and the issue number is 1144

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants