This repository represents the final capstone project in my HyperionDev Data Science (Fundamentals) course. The main script can be found here and corresponding notebook here.
The objective of this project was to discover interesting and actionable insights within a dataset of amazon reviews.
spaCy was used to conduct NLP analysis, in conjunction with TextBlob to determine the sentiment and subjectivity.
Please see the project requirements and corresponding report.
Offical grading, generously provided by Kenneth Mlimi, can be found here.
-
Setup the virtual environment.
python -m venv venv
-
Activate the virtual environment.
-
Windows:
venv\Scripts\activate
-
Unix or MacOS:
source venv/bin/activate
-
Install the requirements.
pip install -r requirements.txt
-
Run the main script.
python sentiment_analysis.py
(Optional) run the notebook.
jupyter nbconvert --execute --to notebook --inplace notebooks/sentiment_analysis.ipynb
Thanks for your interest! Please see my GitHub or Linkedin to stay updated.