The Intelligent Business Apps with the Google Prediction API

The Google Prediction API exposes Google’s machine learning algorithms as a RESTful API for use by applications around the web. This allows developers to replace repetitive manual processes with automated and smarter code, saving users valuable time and preventing headaches. The Prediction API first launched in at I/O 2010 and the team recently added a number of enhancements that make it more powerful for many types of business applications.

What can the Prediction API do?

The basic job of machine learning is to recognize historical patterns in data and use those patterns to make intelligent predictions in the future.
 


 
Some great use cases:

  • Spam detection: Does your product allow users to submit content? Do some users abuse this opportunity by submitting spam? Instead of maintaining a large number of regular expressions trying to catch common types of spam, you can use the Prediction API to automatically detect it and react accordingly.
  • Sentiment analysis: Are you building a CRM that keeps track of exchanges with customers? You could use the Prediction API to analyze correspondence with customers and detect when a customer might be communicating with a really negative or positive tone. This can alert you to when you might need to improve a relationship or even start writing a customer success story.
  • Tagging & organizing: Does your application store a lot of unstructured content? You can provide organization for this content by automatically tagging it based on how your users have previously tagged similar content.
  • Message routing: If you have a CRM that needs to route leads to the most appropriate people or a helpdesk ticket system that needs to route tickets to the correct support team, the Prediction API can help. Instead of writing a set of rules for which leads or tickets get routed to which people, use machine learning to predict the routing based on historical patterns.

On example: We built a demo app that uses the Prediction API to predict what types of applications a company might want to add from the Google Apps Marketplace based on the demographics of the company and a sampling of previous install data.

You can also try out some pre-built demonstration models in the Hosted Model Gallery.

How does it work?

Simple process:

  1. Upload training data to Google Storage. Training data is formatted as a CSV file with the first column representing the result (categorical or real-valued) and the remaining columns representing separate features contributing to the result.Example for predicting the size of a person in meters:
    “Height in meters”, “Gender”, “Father’s height”, “Mother’s height”, “Country of origin”

    1.71,”Male”,1.74,1.62,”France”1.51,”Female”,1.61,1.50,”India”….
  2. Train a model based on the uploaded data. You only need to make a single REST call to start the asynchronous training process.
  3. Predict results based on new data
  4. (Optional) Tune the training model with new results. If you have new training data, you can now add it to your existing model to tune it.
  5. (Optional) Make your model available to others via the forthcoming Hosted Model Gallery.

Google Earth: 3D trees – now in more cities around the world

Last month, we celebrated the trees of the great American wilderness on Arbor Day. Unfortunately, many of us don’t get the opportunity to visit majestic forests like these very often, which is why we’re making them available on Google Earth.

Since we first launched 3D trees in Google Earth 6 last November, we’ve worked to bring this experience to more cities. Today, we are happy to announce that the latest group of cities with 3D trees include: New York, Philadelphia, Boston, London and multiple cities in the California Bay Area.

This new 3D imagery brings new perspective to your favorite historical buildings and parks. In Philadelphia we have complemented the Independence Hall model with new 3D trees in Independence National Historic Park to enhance the realism of the historic site. Other examples are Delacorte Theater in New York City and the the famous Emerald Necklace, a gem of Boston designed by Frederick Law Olmsted, a shared experience and memory for many people – locals and visitors alike.

Independence Hall in Philadelphia, Pennsylvania

Delacorte Theater in New York City, New York

Boston Common in Boston, Massachusetts

We hope that among these new cities you find fond memories of a park, a tree lined street, or even a special tree where you’ve had a fun picnic or family outing. To relive those memories by viewing 3D Trees (or start planning to make new ones), make sure you check the “Trees” layer under “3D Buildings” in your Google Earth left panel. Enjoy the new tree-lined city streets and filled-in parks!

King on The Greatest Challenge

“One of the great tragedies of life is that men seldom bridge the gulf between practice and profession, between doing and saying.”

–Martin Luther King, Jr. (1929–1968)
American civil rights leader
Nobel Peace Prize winner

Do your actions…

  1. create a positive buzz about you and your work?
  2. make others want you as a part of their team?
  3. make your employer cringe at the thought of losing you to a competitor?
  4. make your customers excited about referring you to their colleagues?

You want your actions to scream value without the need for you to say a word. This is where you want to be – with those in your company and industry – and with those to whom you’re selling.
 


 
This is what creates true economic and job security – the value you and your team create for others.

This is care (what it’s all about).

When you have the opportunity over the next few days, set a reminder to review these four questions at the end of each month. Then, give yourself a little (objective) attention by reviewing them and creating an action plan to improve in each area where you feel you should.

Easier said than done… still needs to be done.

__________________________________