Chiffon
12/12/2014
The kernel equation: \[ P(w_n|w_1^{n-1}) \approx P(w_n|w_{n-N+1}^{n-1}) \] where \( N \) is the \( N \) in N-gram (i.e. the number of words used to build the grammar)
For example, if we have the string, “We are the Knights who say, 'Ni!'”, in the bigram model we're moving along the string asking: P(Knights|are the), P(who|the Knights), …
The shiny apps is here: http://chiffon.shinyapps.io/SwiftKey
Press Predict!
See the answer in the right-side.
The shiny is developed by Chiffon, for the Coursera Data science final fianl project. The data Visualization used rCharts packages. CSS is from Nan Xiao @road2stat and Yihui Xie @yihui .
Contact me with [dawei.lang@supstat.com]