Sentiment Analysis, with spark as resilient data loader, and Tensorflow multiworker for distributed training
Table of Contents
Analysis is needed for reporting the customer feedback from a product, this project aim at analysis and report of customer insight,
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
You need to install these dependency
-
Optional
-
Clone the repo and get navigate to directory
git clone git@github.com:henseljahja/sentiment-analysis-lstm-tensorflow.git
then
cd sentiment-analysis-lstm-tensorflow
-
Create virtual environment on terminal
python3 venv -m ./sentiment_analysis/
or
python venv -m ./sentiment_analysis/
-
Activate the virtual environment
source ./sentiment_analysis/bin/activate
-
Install packages from poetry
poetry install
or
pip install -r requirements.txt
-
Get the data
- Kindle Reviews dataset
kaggle datasets download -d bharadwaj6/kindle-reviews
- Glove dataset
kaggle datasets download -d thanakomsn/glove6b300dtxt
Run the projects,
python3 main.py
and see the figure at /figures
Distributed under the MIT License. See LICENSE
for more information.