MONTH: OCTOBER

Why we chose Google AutoML.

Permalink: https://gunargessner.com/why-we-chose-google-automl

CONTEXT: Invisible is going Machine Learning, and our first goal is to use ML to aid us in routing client delegations. When a client sends us an email, we’ll use the emails’ content to infer whether the task should be routed to the “Calendar” team, the “Lead Sourcing” team, or any other of our capabilities.

The Pareto principle states that, for many events, roughly 80% of the effects come from 20% of the causes.

We’re not off to become Machine Learning experts (yet), so we will try and make the most out of the existing frameworks and services. I have built one proof of concept with each of these three solutions and will be giving you my analysis.

1. Tensorflow.js

The great post (below) by George Perry explains how it works. I loved the fact that we can write in JavaScript, but couldn’t find a practical way to train the model on the cloud—training on a normal computer takes too long.

2. AWS SageMaker

Getting from the AWS Console to a working Jupyter Notebook based on sample code was easier than expected. It only accepts Python, but it’s really easy to import libraries. I’ve appreciated the Jupyter Hub interface as it gives you a local filesystem which makes for a very ergonomic place to do data massaging.

Image for post
JupyterHub, filesystem (left), Jupyter notebook (right)

3. Google AutoML

I’ll tell you right off the bat, AutoML sounds too good to be true. I just dropped a CSV file, and it did everything by itself. One of the coolest things is that Google AutoML gave me insight into my dataset, and told me what to fix in order to get good predictions out of it. This is something that in different circumstances could have taken me quite some time to figure out.

Image for post
AutoML holding my hand

Comparison and Decision

We have decided to go with Google AutoML at this moment.

Image for post

* Google AutoML forced me to remove qualifications for which we had less than 100 datapoints (i.e. delegations), which made its dataset have less noise than the dataset used for AWS SageMaker and Tensorflow.js.
** Google AutoML requires no code to be written.
*** Even though AWS SageMaker does not completely abstract ML into a GUI like AutoML, having a hosted JupyterHub does make things a lot nicer.

I’m stoked about being able to leverage the power of Machine Learning to implement features that will have an immediate impact on the way we work.

Written by

Software that gets jobs done — gunargessner.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store