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

Added data preprocessing (cleaning, stemming) and visualizations to amazon_scrapping/Sentiment_Analysis.ipynb #158

Merged
merged 1 commit into from
Jun 2, 2024

Conversation

Harshitmishra001
Copy link
Contributor

Related Issue

Added data preprocessing (cleaning, stemming) and visualizations to amazon_scrapping/Sentiment_Analysis.ipynb
Issue #157

Description

Added clean_text Function:
The clean_text function only performed lowercase conversion, punctuation removal, tokenization, and stop word removal.
Added Visualizations:
I added two visualization sections to the code:
Confusion Matrix Visualization: The confusion matrix shows how the model classified different ratings and helps identify
where it makes mistakes (false positives, false negatives).
Rating Distribution Visualization: to visualize the distribution of ratings in the dataset.

Type of PR

  • Bug fix
  • [ ✅] Feature enhancement
  • Documentation update
  • Other (specify): _______________

Screenshots / videos (if applicable)


Screenshot 2024-06-01 232218
Screenshot 2024-06-01 232230
Screenshot 2024-06-01 232241
Screenshot 2024-06-01 232259

Checklist:

  • [✅ ] I have performed a self-review of my code
  • [✅ ] I have read and followed the Contribution Guidelines.
  • [✅ ] I have tested the changes thoroughly before submitting this pull request.
  • [ ✅] I have provided relevant issue numbers, screenshots, and videos after making the changes.
  • [✅ ] I have commented my code, particularly in hard-to-understand areas.

Additional context:

Hey! I am A begginer in Machine Learning and did What I thought could overall help the code better.
Anyway for me to imporve are welcome
Thank You!

@sanjay-kv sanjay-kv merged commit f83c055 into recodehive:main Jun 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants