This is a NLP project with a objective to understand the sentiment behind the cell phone review on amazon.
Natural language processing (NLP) is a method to translate between computer and human languages. It is a method of getting a computer to understandably read a line of text without the computer being fed some sort of clue or calculation. In other words, NLP automates the translation process between computers and humans. source
This project is sentiment analysis project. As the name suggests, sentiment analysis is used to identify the sentiments among several cell phone reviews on amazon. It is also used to identify the sentiment where the emotions are not expressed explicitly. Companies are using sentiment analysis, an application of natural language processing (NLP) to identify the opinion and sentiment of their customers online. It will help companies to understand what their customers think about the products and services. Companies can judge their overall reputation from customer posts with the help of sentiment analysis. In this way, we can say that beyond determining simple polarity, sentiment analysis understands sentiments in context to help us better understand what is behind the expressed opinion.
Project runs on Python 3.6.1
and all requiremets can be installed by following command you can find requirement.txt here
pip install -r requirements.txt
import nltk
nltk.download()
adm = tf.keras.optimizers.Adam(lr=1e-6,decay=1e-3)
loss_moniter = tf.keras.callbacks.EarlyStopping(monitor='val_loss', min_delta=0.0001, patience=5, verbose=1, mode='auto',baseline=None, restore_best_weights=False)
model can be downloaded from here model.h5
Data was downloaded from Kaggle