Code Monkey home page Code Monkey logo

appratings's Introduction

App Rating Analysis using Generalized Logistic Regression

Authors: Ishita Jain, Mihir Gadgil

Read the report.

Data

The data can be obtained from Kaggle. Extract it into the data directory.

Usage

Running these script requires a file with some utility functions. It can be obtained from the webpage of the Doing Bayesian Data Analysis book by John K. Kruschke.

Generating the MCMC chains

The generate_mcmc.R script can be used to create the MCMC chains.

You will need to modify the script with the names of the models.

For the high rating model:

  1. Change line 11 to yName = "Rating_high"
  2. Change line 12 to fileNameRoot = "appRatingFilesHigh"

For the medium rating model:

  1. Change line 11 to yName = "Rating_med"
  2. Change line 12 to fileNameRoot = "appRatingFilesMed"

For the low rating model:

  1. Change line 11 to yName = "Rating_low"
  2. Change line 12 to fileNameRoot = "appRatingFilesLow"

We could write this in the script itself, but that means the MCMC simulations would run in sequence one after the other. This takes too much time.

Whereas you can run them in parallel if you want to by manually editing the script.

Analysing the chains

The chains can be analyzed and the posterior distributions can be plotted using the plotting.R script.

We have included the results of our MCMC simulations in the repository. You can directly analyze the results without the need of generating new MCMC chains.

appratings's People

Contributors

scimas avatar

Watchers

 avatar  avatar

Forkers

ishitaj19

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.