Predict the future with Google Prediction API

Ajay Ohri, July 30th, 2012

Google PredictionGoogle has been a leader in providing innovative APIs as well as providing infrastructure and  software paradigms (including map-reduce) that have helped make the internet better. The enormous investment that Google has put in these infrastructure efforts is yet to pay off directly, but it has brought many developers a choice and flexibility between the usual options. Of course if computing shifts to the cloud, Google will reap a big dividend from both retail as well as enterprise software customers.

The Cloud APIs of Google are-

1) Google Prediction API for Machine Learning based Models

2) Google Storage API for Data Storage

3) Google Cloud SQL API for Relational Database (or MySQL in the Cloud)

4) Google BigQuery API for Big Data Querying

You can see the rest of the APIs created by Google using the API console at

The Google Prediction API is the machine learning API of this suite. It assumes data is already in Google Storage (which has a separate API), and you need to apply supervised learning to it based on the training dataset. What can we do with this API?

You can use the Google Prediction API in some of the following custom cases- assuming Google inc would have better machine learning than your own team (which is a reasonable and cost effective assumption)

  • Customer sentiment analysis – as in Social Media Analytics or viewing the responses to your marketing in real time
  • Spam detection- If you need to build spam detectors for your in-house (Exchange based) email system. An alternative is to just go on the Google Cloud for Gmail for Businesses, which may not be a feasible solution for legacy or confidentiality reasons.
  • Upsell opportunity and Churn analysis – This can help with using these models than pay for highly expensive software that analyzes your customer data.
  • Suspicious activity identification- Especially if you have tonnes of web and machine logs to go into and are a hapless overworked Information Technology member in a corporate team who has been tasked with additional tasks of information security.

There is a rich variety of client libraries that are supported by this API including .NET , Go , Google Web Toolkit , Java ,JavaScript ,Objective C ,PHP , Python , Ruby , Apps Script ,R  .

Pricing is awesome for the Google Prediction API compared to the costs of building your own analytics team or buying analytics software. For 10$ per project , you can do 10,000 training and prediction calls per month.

Want to predict the future? It is just an API call away!

(Google Cloud APIs -part 1)

Both comments and pings are currently closed.

7 Responses to “Predict the future with Google Prediction API”

August 1st, 2012
at 12:01 pm
Comment by: Your Store in The Cloud -Google Cloud Storage API

[...] our previous post we provided an overview of Google’s cloud infrastructure and talked of the Google Prediction API. To use the Google Prediction API we do have to use the [...]

August 1st, 2012
at 9:21 pm
Comment by: Your Store in The Cloud -Google Cloud Storage API | Easy Web Backup

[...] our previous post we provided an summary of Google’s cloud infrastructure and talked of the Google Prediction API . To apply the Google Prediction API we do ought to use [...]

August 12th, 2012
at 6:12 pm
Comment by: viagra | casino | sex | cicap | porno | blowjob | pompini | transex | shemale

Hi there, You’ve performed a great job. I’ll certainly digg it and personally suggest to my friends. I’m confident they will be benefited from this web site.

August 13th, 2012
at 11:31 am
Comment by: Google Cloud SQL – Relational Database on the Cloud

[...] part of our series on Google Cloud APIs we cover Google Cloud SQL. We have covered Google Prediction API, Storage API, and BigQuery API [...]

August 22nd, 2012
at 2:26 pm
Comment by: BigML API Gets Bigger

[...] use of machine learning through an API tied up with very easy to use interface. Think of it as Google Prediction API but without a black box algorithm, and with enhanced real time data visualizations and a much [...]

September 20th, 2012
at 5:10 am
Comment by: Google Prediction API:让应用拥有“预测”能力 | 云动态

[...] Via:programmableweb [...]

October 16th, 2012
at 12:22 am
Comment by: Web Development, Responsive And Mobile Design Links | crackedhorizon

[...] Predicting the future with Google Prediction API -blog.programmableweb.com/2012/07/30/predict-the-future-with-google-prediction-api [...]

Follow the PW team on Twitter

ProgrammableWeb
APIs, mashups and code. Because the world's your programmable oyster.

John Musser
Founder, ProgrammableWeb

Adam DuVander
Executive Editor, ProgrammableWeb. Author, Map Scripting 101. Lover, APIs.