Data Science Capstone Final

Sri Somasundharam
"Sun Apr 24 10:05:00 PM 2016"

Overview

  • Prediction Algorithm
    Supervised learning task where the data are used directly to predict
  • APP Instructions
    Type the sentence to predict the single word prediction

  • Experience of Application
    “1. Type the sentence in the text field.”
    “2. The value will be passed to the model.”
    “3. Obtain the instant predictions.”

Predictive Model

  • Markov Chain
    “Sequence of random variables with the Markov property, given the present state, the future and past states are independent.”

App Flow

Input
“Obtain the data from the data sentence.”

Output
“The next possible single word will be returned and displayed.”

Summary

  • Obtain the data from the sentence. Numbers, punctuations, extra spaces will be removed and converted to lowercase.

  • After preprocessing, the sentence will be truncated from the last 3 words.

  • Search the pattern from the algormithm will search the pattern from the 3-grams frequency matrix.

  • The next possible single word will be returned and displayed.