Skip to content

DarkStar1997/Movie-Review-Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie Review Sentiment Analysis from Scratch

In this repository, we have implemented a movie review sentiment analysis tool which rates the review and returns a fractional value between 0 and 1, where, 0 indicates negative and 1 being positive. For preprocessing, we have used the TFIDF algorithm from the Scikit-learn package. The main training has been done on an Artificial Neural Network (ANN) written in C++ and Arrayfire which is capable of accelerating Linear Algebra operations on CPU as well as GPU using Intel MKL, OpenCL and CUDA.

A simple re-implementable version of the Neural Network written in C++/ArrayFire can be found here.

Note:

The integration of the Python code for TFIDF and the C++ code for the ANN has been done very naively using a system call: system("python3 get_file_tfidf.py > test1.txt"); in test.cpp avoiding the usage of any wrapper code.

About

Analysing the sentiment of a movie review from scratch using an ANN

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published