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.

predictionlogo

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.

predictionlogo

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

 

raspberry pi books

 

Comments




or email your comment to: comments@i-programmer.info

 

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.

 

Banner


SnapCode: A Java IDE for the Web
27/02/2024

Thanks to CheerpJ and WebAssembly you can now run a Java IDE inside your browser and local first.This is SnapCode, and while lightweight and in-browser, is to be not underestimated.



Apache Shiro 2.0 Released
21/03/2024

Apache Shiro 2.0 has been released. The Java security framework now requires at least Java 11, and has added support for Jakarta EE 10.


More News

Last Updated ( Friday, 16 March 2012 )