Coder Social home page Coder Social logo

yet-another-sentiment-analyzer's Introduction

Yet Another Sentiment Analyser

Purpose

The goal of this ML analyser is to provide a system that can solve the following problems:

  • Train your own sentiment analysis model.
  • Provide an API endpoint to integrate the system with third-part services.
  • Have a web-interface to interact with the analyser online.

About

The analyser is built using the Amazon Customer Reviews Dataset, in particular game reviews.

Multiple models have been built to server different needs, including the binary model and fine-grained ones.

The analyser supports at least 2 languages: Ukrainian and English but can be easily trained to work with other languages is it's built using statistical methods.

The overall performance of the system doesn't correspond to the production-ready expectations (mainly due to a lack of computational power during the model training) but may server as a foundation for the creation of more complex models.

Training a model

To train a model, examine code in file ./examples/train_model.py

Accuracy

Here are a couple of confusion matrices for models built using linear regression.

  • Three classes (Positive, Neutral, Negative)
    Accuracy: ~71%
    Cool!

  • Binary (Positive, Negative)
    Acuracy: ~92%
    Cool!

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.