slide deck

Muhammad Imdad Ullah
August 19, 2020

Data Science: Final Assignment

Instructions

The goal of this exercise is to create a product to highlight the prediction algorithm that you have built. We have to provide an interface that can be accessed by others. For this project you must submit:

  • A Shiny app that takes as input a phrase (multiple words) in a text box input and outputs a prediction of the next word.
  • A slide deck consisting of no more than 5 slides created with R Studio Presenter pitching your algorithm and app as if you were presenting to your boss or an investor.

Review Criteria

Data Product

  • Does the link lead to a Shiny app with a text input box that is running on http://shinyapps.io?
  • Does the app load to the point where it can accept input?
  • When you type a phrase in the input box do you get a prediction of a single word after pressing submit and/or a suitable delay for the model to compute the answer?
  • Put five phrases drawn from Twitter or news articles in English leaving out the last word. Did it give a prediction for every one?

Text-Mining

In the shiny app, users can casually key in any character inside text box. The the system will auto appear the suggested next predictive words in table format by follow the most accurate in sequence. You can show/hide the author and source code link if you like.

Short Summary

I am using tm and RWeka packages for previous assignments, but occasionally noticed a new package quanteda which is more efficient and clean, clear and concise and text mining and n-grams words prediction. At the same time I am using shinyjs package to come out with better output and interactive.

Browse over the shiny app at Final Project-Submission Shiny App