GithubHelp home page GithubHelp logo

reviews-rating-prediction's Introduction

Reviews-Rating-Prediction

Using an ensemble learning approach, bagging and adaboost algorithms are implemented to perform the classification.

Implementation Details

Feature Extraction

Using the tfidf vectorization method to do the feature extraction for the content part of each data to obtain a vector for each comment text representation, and the vector is saved as an npy file for svm and decision tree training.

Model

SVM and decision tree, using LinearSVC and decision tree models provided by sklearn for training and prediction respectively.

Ensemble Learning

I implemented the Bagging and Ada Boost algorithm.

Experiments

Model MAE RMSE MSE
Baseline SVM 0.6015 1.074011173126239 1.1535
Baseline DTree 0.9195 1.4281106399715675 2.0395
Bagging SVM 0.56725 1.0560539758932779 1.11525
Bagging DTree 0.72275 1.308147545195113 1.71125
Ada Boost SVM 0.69325 1.2687592364195817 1.60975
Ada Boost DTree 0.72275 1.3085297092538632 1.71225

reviews-rating-prediction's People

Contributors

yao-jz 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.