Google Prediction API: faster, easier to use, and more accurate

Marc Cohen, Developer Relations
2 min readbeginner
--
View Original

Overview

The article discusses the enhancements made to the Google Prediction API, highlighting its improved speed, ease of use, and accuracy. Key updates include a faster on-ramp for model creation, improved update algorithms, more classification algorithms, and integration with Google Apps Script.

What You'll Learn

1

How to create an empty model using the trainedmodels.insert method

2

Why the Google Prediction API is easier to use with the new updates

3

When to utilize the integration with Google Apps Script for predictions

Key Questions Answered

What improvements have been made to the Google Prediction API?
The Google Prediction API has seen several improvements including a faster on-ramp for model creation, enhanced algorithms for model updates, an increase in classification algorithms for better accuracy, and integration with Google Apps Script for seamless use with other Google products.
How can users create a model without staging data in Google Cloud Storage?
Users can create an empty model by sending a trainedmodels.insert request without specifying a storageDataLocation. This allows them to add training data directly without needing to stage it in Google Cloud Storage.
What are the benefits of the new classification algorithms in the API?
The new classification algorithms in the Google Prediction API lead to across-the-board improvements in accuracy, enabling users to build more reliable predictive models.

Technologies & Tools

Backend
Google Prediction API
Used for building predictive models and integrating with other Google services.
Tools
Google Apps Script
Enables integration of prediction services with Google Docs, Google Maps, Gmail, and more.

Key Actionable Insights

1
Leverage the new faster on-ramp feature to quickly start building predictive models without the overhead of staging data.
This feature allows developers to focus on model training and deployment, improving productivity and reducing setup time.
2
Utilize the integration with Google Apps Script to enhance your applications with predictive capabilities.
This integration allows for seamless use of prediction services across various Google products, making it easier to implement AI features in applications.