Giter Club home page Giter Club logo

tripadvisornaivebayes's Introduction

Tripadvisor Naive Bayes

A Naive-Bayes-Classifier trained with subreviews from TripAdvisor to calculate a overall rating based on given subratings.

Install

Before using the Application dependencies have to be installed. These can be installed with the following command over pip.

$ pip install -r requirements.txt

Usage

The Server can be started running the __init__.py file.

$ python __init__.py

The web interface can be accessed over the index.html file in the web_interface folder.

Force Training

The training data can be pulled from http://times.cs.uiuc.edu/~wang296/Data/, have to be in json format and need to be in a json directory in the project root.

folder structure

Now you can start the program with forced training by using the --ft flag like this:

$ python __init__.py --ft

Project Members

  • Matthias Herrmann (Naive Bayes Implementierung mit nltk)
  • Sarah Kocher (Weboberfläche)
  • Benedikt Strasser (RESTful Server)

License

MIT License

Attribution for the ratings data from tripadvisor:

Hongning Wang, Yue Lu and ChengXiang Zhai. Latent Aspect Rating Analysis without Aspect Keyword Supervision. The 17th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD'2011), P618-626, 2011. Hongning Wang, Yue Lu and Chengxiang Zhai. Latent Aspect Rating Analysis on Review Text Data: A Rating Regression Approach. The 16th ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD'2010), p783-792, 2010.

tripadvisornaivebayes's People

Contributors

shoggomo avatar matthias-herrmann avatar

Watchers

 avatar  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.