/movie_reviews_sentiment_analysis_NN

Imports movie reviews corpus from NLTK, performs a tf-idf for the whole corpus, then does a TruncatedSVD to perform dimensionality reduction on a sparse matrix. Finally, it trains on a multilayer NN in Keras. The test dataset was found to be 88% accurate.

Primary LanguageJupyter Notebook

Watchers