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

Sentiment analysis for restaurant reviews (nlp) #584 #587

Conversation

ghousiya47
Copy link
Contributor

Pull Request for ML-Crate 💡

Issue Title: Sentiment Analysis for Restaurant Reviews (NLP) #584

  • Info about the related issue (Aim of the project) : To build a machine learning model for predicting the Sentiments of Customer based on their review on a Restaurant.
  • Name: GHOUSIYA BEGUM
  • GitHub ID: ghousiya47
  • Idenitfy yourself: Student -Mentee JWOC'24

Closes: #584 that will be closed through this PR

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

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

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

I have tested my model by checking it's testing and training accuracy, i got highest testing accuracy of around 93% for training accuracy 97% for SVM Algorithm.

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 @ghousiya47 :)

@ghousiya47
Copy link
Contributor Author

@abhisheks008 please review my PR.

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.

Didn't find out any NLP models/methods in this project.
@ghousiya47 please take a look at this.

@abhisheks008 abhisheks008 added the Requested Changes ⚙️ Some changes have been requested in this PR. label Feb 19, 2024
@ghousiya47
Copy link
Contributor Author

ghousiya47 commented Feb 19, 2024

Didn't find out any NLP models/methods in this project. @ghousiya47 please take a look at this.

@abhisheks008 sir i have used TF-IDF and CountVectorizer techniques, this are NLP methods. Using CountVectorizer I have represented each review as a bag of its words, ignoring grammar and word order but keeping track of word frequency.

@ghousiya47
Copy link
Contributor Author

ghousiya47 commented Feb 19, 2024

@abhisheks008 I have even used nltk package, to remove stopwords and punctuation, This is an NLP technique

@abhisheks008
Copy link
Owner

@abhisheks008 I have even used nltk package, to remove stopwords and punctuation, This is an NLP technique

Replied you in Discord.

@ghousiya47
Copy link
Contributor Author

@abhisheks008 I have even used nltk package, to remove stopwords and punctuation, This is an NLP technique

Replied you in Discord.

@abhisheks008 Sir I have updated my README.md file kindly review it.

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.

Approved under JWOC 2024 @ghousiya47

@abhisheks008 abhisheks008 added Approved ✅ This PR is approved by the PR or, Mentors. Intermediate Points 30 - SSOC 2024 JWOC This issue/pull request will be considered for JWOC 2k22. and removed Requested Changes ⚙️ Some changes have been requested in this PR. labels Feb 19, 2024
@abhisheks008 abhisheks008 merged commit 452f52e into abhisheks008:main Feb 19, 2024
@abhisheks008 abhisheks008 added the Points Added 🎉 This issue's points has been added to the leaderboard. label Feb 19, 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 JWOC This issue/pull request will be considered for JWOC 2k22. Points Added 🎉 This issue's points has been added to the leaderboard.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sentiment Analysis for Restaurant Reviews (NLP)
2 participants