“Machine learning can help you understand and predict intent in ways that simply aren’t possible manually. It can also help you find missed or unexpected connections between business goals and the habits of your key customer segments.”
5. “Machine learning can help you
understand and predict intent in
ways that simply aren’t possible
manually. It can also help you find
missed or unexpected connections
between business goals and the
habits of your key customer
segments.”
https://bit.ly/2UVebc1
7. Agenda • We will build a sophisticated deep
learning model that can parse not just
intent but also specific actions like the
ones you give to Google Assistant, Siri and
Alexa.
• We will access the predictive model using
a simple custom function in Google
Sheets.
• We will review the concepts that make this
possible.
• I will share resources you can use to learn
more.
28. Python code
snippet to test
the model
import pandas as pd
test_df = pd.read_csv("atis.test.csv",
index_col=0)
model =
LudwigModel.load("results/experiment_r
un/model")
predictions = model.predict(test_df)
test_df.reset_index().join(predictions)[["to
kens", "intent_predictions",
"slots_predictions"]]
37. Our journey
so far
1.We built a travel specific
intent prediction model
2.We can access the model
using a temporary public URL
3.We need to access the URL
from Apps Script and Google
Sheets
52. Python and deep learning resources
1. https://www.searchenginejournal.c
om/author/hamlet-batista/
1. Automated Intent Classification Using
Deep Learning in Google Sheets
2. Automated Intent Classification Using
Deep Learning
3. Automated Intent Classification Using
Deep Learning (Part 2)
2. https://www.jcchouinard.com/pyth
on-for-seo/
1. Python for SEO: Complete Guide (in 5
Chapters)
3. https://moz.com/blog/intro-to-
python
1. Intro to Python - Whiteboard Friday