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

Poker Hand Prediction #710

Merged
merged 4 commits into from
Jul 21, 2024
Merged

Poker Hand Prediction #710

merged 4 commits into from
Jul 21, 2024

Conversation

aviralgarg05
Copy link
Contributor

Pull Request for ML-Crate 💡

Issue Title: Poker Hand Prediction

  • Info about the related issue (Aim of the project) : Predict Poker Hand
  • Name: Aviral Garg
  • Email ID for further communication: gargaviral99@gmail.com
  • GitHub ID: aviralgarg05
  • Idenitfy yourself: SSOC Contributor

Closes: #issue number that will be closed through this PR
#693

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

NA
Give a clear description of what have you added or modifications made
NA

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

Describe how it has been tested: Previous Test Datasets
Describe how have you verified the changes made:- Accuracy Scores

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

Our team will soon review your PR. Thanks @aviralgarg05 :)

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.

You have created duplicate folders inside the project folder. Please go through them and make them arranged.

@aviralgarg05

@abhisheks008 abhisheks008 added Requested Changes ⚙️ Some changes have been requested in this PR. SSOC labels Jul 16, 2024
@aviralgarg05
Copy link
Contributor Author

Ok I will edit them out

@abhisheks008
Copy link
Owner

Still the duplicate files are present in the project folder. Also use a generalized Jupyter Notebook file instead of separate .py files for each of the algorithms. Create an .ipynb file and do the EDA, model training, model implementations one after another. That'll be easier to understand for any one.

@aviralgarg05
Copy link
Contributor Author

Still the duplicate files are present in the project folder. Also use a generalized Jupyter Notebook file instead of separate .py files for each of the algorithms. Create an .ipynb file and do the EDA, model training, model implementations one after another. That'll be easier to understand for any one.

Actually those are the models that I created separately, and called them into the ipynb for visualization and testing purposes. (It was giving me some kernel issues while training the models in jupyter notebook so created them separately as .py and called them in .ipynb for testing). The files present in both the folders are completely different. Just their naming is same for identification purposes of models while calling.

@abhisheks008
Copy link
Owner

Why should we have .ipynb and .py files for each and every algorithm? These are simple machine learning algortihms I don't think these will take too much of the kernel for processing.

@aviralgarg05
Copy link
Contributor Author

Why should we have .ipynb and .py files for each and every algorithm? These are simple machine learning algortihms I don't think these will take too much of the kernel for processing.

No it wasn't taking resources, but was giving me virtual environment issues while training about the libraries. So created model separately and tested separately. Actually I had been working on different project and some issues of kernel versions had been occurring.

@abhisheks008
Copy link
Owner

Hi @aviralgarg05 I got your points. But it's better to go with a single jupyter notebook file which will contain all the stuff including the EDAs, model training and model implementation.

@aviralgarg05
Copy link
Contributor Author

What I'll do is add the entire folder to .gitignore Hence it would make the structure better. As without those files the actual prediction won't work.

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.

  1. Follow the README template and update the README. Here it is, https://github.com/abhisheks008/ML-Crate/blob/main/.github/readme_template.md
  2. Rename the .ipynb folder from "Poker Hand Prediction" to "Notebooks".

@aviralgarg05

@abhisheks008 abhisheks008 linked an issue Jul 21, 2024 that may be closed by this pull request
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.

Looks good to me. Approved ✅
@aviralgarg05

@abhisheks008 abhisheks008 added Approved ✅ This PR is approved by the PR or, Mentors. Intermediate Points 30 - SSOC 2024 and removed Requested Changes ⚙️ Some changes have been requested in this PR. labels Jul 21, 2024
@abhisheks008 abhisheks008 merged commit 0c5db61 into abhisheks008:main Jul 21, 2024
@abhisheks008 abhisheks008 added the Points Added 🎉 This issue's points has been added to the leaderboard. label Jul 21, 2024
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. Intermediate Points 30 - SSOC 2024 Points Added 🎉 This issue's points has been added to the leaderboard. SSOC
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Poker Hand Prediction
2 participants