Added data preprocessing (cleaning, stemming) and visualizations to amazon_scrapping/Sentiment_Analysis.ipynb #158
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Screenshots / videos (if applicable)
Checklist:
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!