Google Prediction API 1.5
Google Prediction API 1.5
Written by Kay Ewbank   
Friday, 16 March 2012

A new version of the Google Prediction API has been released with extra features for working with data models, and more samples.

The API is designed to give developers a way to use a cloud-based pattern recognition engine for applications that make use of artificial intelligence. It exposes Google’s machine learning algorithms as a RESTful API that you can use in your Web applications.

The API recognizes historical patterns in data and uses those patterns to make predictions about patterns in new data. Some suggested uses are spam detection and automatic tagging of unstructured data based on how your users have tagged similar content in the past.


As we reported on I Programmer when the API was first announced, the way the Prediction API works is that you upload data, which can be unstructured text or numeric, to Google Storage for Developers. You then perform a supervised learning stage and finally you can use the trained model to classify new data.

With version 1.5, you can now list all your models as a single list, or show the models page by page iteratively. There’s a simplified method to return model analysis data that will also show the timestamp of when the model was inserted and when the model training was completed, so you can keep track of models more easily.

Model analysis has also been improved. The developers have added the ability to obtain more detailed information about data and models. Carrying out a trainedmodels.analyze request will return information about the trained model’s output values, features, confusion matrix, and other information.


There are also two new sample apps showing how to use the Prediction API from Google App Engine, coded in Python and Java. These samples show how to create and manage shared server OAuth 2.0 credentials, and how to make predictions on behalf of any site visitors using the shared server credentials.

More Information

Google Prediction API

Version 1.5 Reference

Libraries and Sample Code

Related Articles

Google gets into AI with an API

Google to start charging for Prediction API

Google Prediction API v1.2

Google's Prediction API exits labs


blog comments powered by Disqus


To be informed about new articles on I Programmer, subscribe to the RSS feed, follow us on Google+, Twitter, Linkedin or Facebook or sign up for our weekly newsletter.



Visual Studio 15 Preview 5

Microsoft has just announced Visual Studio 15 Preview 5. In case you are confused "15" is the next version of Visual Studio.

Women In STEM Receive Awards On Ada Lovelace Day 2016

Today, October 11 2016 is being celebrated as Ada Lovelace Day with initiatives designed to raise the profile of women in science and technology.

More News

Last Updated ( Friday, 16 March 2012 )

RSS feed of news items only
I Programmer News
Copyright © 2016 All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.