GithubHelp home page GithubHelp logo

movie-reviews-sentiment-analysis's Introduction

Movie-Reviews-Sentiment-analysis

  1. First importing the required libraries like pandas, nltk, vectorizing, ML modules and pickels etc..

  2. Loading the data and checking weather it contains any null values.

3.Steps to clean the reviews: 1. Remove HTML tags 2. Remove special characters 3. Convert everything to lowercase 4. Remove stopwords 5. Stemming

  1. Creating the model

    1. Creating Bag Of Words (BOW)
    2. Train test split
    3. Defining the models and Training them.
    4. Prediction and accuracy metrics to choose best model.
  2. Creating pickel files of CountVectore and NLP ML module.

In this project the three ML modules are used because to vary the accuracy

  1. GaussianNB = 0.7843
  2. MultinomialNB = 0.831
  3. BernoulliNB = 0.8386

The Naive Bayes algorithum is for the predicting data is classification problem.

The BernouliNB model pickel file is used for deployement purpose beacause it's have good accuraccy

check the below link: https://movie-reviews-predictor.herokuapp.com/

movie-reviews-sentiment-analysis's People

Contributors

sandeepbelamagi avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.