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

Adding ML Model for Absenteeism Prediction with Hyperparameter Tuning #227

Merged
merged 5 commits into from
Oct 7, 2024

Conversation

murtaza-sadri-19
Copy link
Contributor

@murtaza-sadri-19 murtaza-sadri-19 commented Oct 7, 2024

Pull Request for PyVerse 💡

Issue Title : Adding ML model for HyperParameter Tuning including Resources

  • Info about the related issue (Aim of the project) : To demonstrate the application of hyperparameter tuning to an ML model for predicting absenteeism time using the UCI machine learning dataset.
  • Name: Murtaza Sadriwala
  • GitHub ID: murtaza-sadri-19
  • Email ID: [email protected]
  • Idenitfy yourself: GSSOC'24 Extd

Closes: #141
I have added a new Jupyter Notebook to the project that demonstrates the process of building and training an ML model for predicting absenteeism time using the UCI dataset. The notebook includes the following steps:

Data loading and preprocessing: Loading the dataset, handling missing values, and performing feature engineering.
Model selection: Choosing a suitable ML algorithm (e.g., Random Forest, XGBoost) for the task.
Hyperparameter tuning: Using techniques like grid search or random search to find optimal hyperparameter values for the selected model.
Model training and evaluation: Training the model with the tuned hyperparameters and evaluating its performance using appropriate metrics (e.g., accuracy, precision, recall, F1-score).
The notebook also includes visualizations to illustrate the impact of hyperparameter tuning on the model's performance.

Type of change ☑️

  • 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? ⚙️

I have thoroughly tested the notebook by running it multiple times and verifying that the results are consistent. I have also compared the performance of the model with and without hyperparameter tuning to demonstrate its effectiveness.

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 Oct 7, 2024

👋 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!

@github-actions github-actions bot requested a review from UTSAVS26 October 7, 2024 12:44
@UTSAVS26 UTSAVS26 merged commit 513453e into UTSAVS26:main Oct 7, 2024
1 check passed
@UTSAVS26 UTSAVS26 added Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. Status: Approved ✔️ PRs that have passed review and are approved for merging. level2 gssoc-ext hacktoberfest hacktoberfest-accepted labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. gssoc-ext hacktoberfest hacktoberfest-accepted level2 Status: Approved ✔️ PRs that have passed review and are approved for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

📃: Adding ML model for HyperParameter Tuning including Resources
2 participants