Giter Site home page Giter Site logo

mk-rating's Introduction

Disney Ride Picker

Lucy D'Agostino McGowan

This application uses Touringplans survey data to estimate the Magic Kingdom ride you'd rate the highest based on the ratings of the last two rides you rode. You can find the application at: http://lucy.shinyapps.io/mk-rating/

Run the appliation locally on your computer

To run the application, you need to following packages in R:

  • shiny
  • tidyverse
  • glue
  • shinydashboard
  • DT

You can install them using the following code in your R console.

install.packages("shiny")
install.packages("tidyverse")
install.packages("glue")
install.packages("shinydashboard")
install.packages("DT")

To run the application locally, first download the files in this repository. If using RStudio, open the RStudio project (themepark-rating.Rproj) and run shiny::runApp() in the console. If not using RStudio, you can set your working directory to the folder containing the files in this repository and run shiny::runApp().

The algorithm

This recommender is using a very simple algorithm. We identified 40 rides / attractions at Magic Kingdom.

  • We have 6 age groups. The user inputs their age:

Figure

  • The user inputs the previous two rides they rode (r1, r2), along with ratings (rate1, rate2) from 1-5.
  • We subset the data to only include surveys for agei
  • We fit 38 prediction models using the ratings from the remaining 38 rides:

Figure

as outcomes and r1 and r2 as predictors in the following form:

Figure

  • We then plug in the user's ratings to get 38 predicted ratings for each of the 38 remaining rides:

Figure

Figure

  • Finally, we arrange the 38 predicted ratings and output the ride with the highest predicted rating.

mk-rating's People

Contributors

lucymcgowan avatar

Stargazers

 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.