This talk was delivered at Google DevFest by GDG Ahmedabad on 27th December, 2016. This Presentation features Google's Prediction API and what is Machine Learning as a Service on Cloud.
on Cloud. • Predicts an Output value based upon the entered input like Language, Sentiments, tags e.t.c. • Available as an on demand HTTP RESTful Web Service.
the same thing that we do ‘Everyday’ PREDICT! • Starting right from churning a small file of few Kbs to a Big Data Set of 1.5GBs! you can feed them all in form of a CSV. • But! How DO I DO IT!?
file. Now remember, when I say CSV it doesn’t mean Excel! • Else, just push whatever date you have to the Cloud and make use of the Google Storage API. "english","To err is human, but to really ..." "spanish","No hay mal que por bien no venga." ... Upload to Google Storage gsutil cp ${data} gs://yourbucket/${data}
to have accurate predictions. • The Prediction API finds relevant feature from the dataset while the training process • This very features are searched by it later during the Prediction process.
asynchronously so, to see the results, GET prediction/v1.1/training/mybucket%2Fmydata {"data":{ "data":"mybucket/mydata", "modelinfo":"estimated accuracy: 0.xx” }}
model is ready to Predict results with new data. • So, again, how it works!? POST prediction/v1.1/query/mybucket%2Fmydata/predict { "data":{ "input": { "text" : [ “Your Sample Text” ]}} }
to vary is seen as well the outputs obtained are Numeric in value. • Classification Need to decide which bucket an output belongs to and buckets are Text values
up to 100s of discrete categories. • Training Many machine learning techniques. Automatically selected. Performed asynchronously. • Access from many environments Web app, mobile app, desktop app. ßProgramming language independent .
• Makes every App. Smarter. • Being a web service, can be accessed seamlessly from any Platform. • It also provides strategies for Large Scale Machine Learning
will guess the Sub Reddits according to the submissions. • 75MB of JSON-encoded data, comprising 72,986 submissions • This subset made up 42,753 submissions, or about 58% of the original. • Submissions were randomly split into either the training set (98%) or the validation set (2%).
the finest day in the DevCon history of Gujarat. • Though the Cold is increasing but the temperature at DevFest will be ‘Warmer’! • Ofcourse, the ‘Food is Awesome’ !