Fireship · @fireship
Predict Horse Races with BigQuery #ML
Uploaded March 15, 2019 · Length 10:12
Summary
Learn how to use BigQuery to predict horse races with machine learning, including uploading data, creating a table, and querying the data.
- bigquery
- machine learning
- horse racing
- predictive modeling
- data analysis
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
[Music]
- 0:05
one of my favorite things to do with
- 0:07
technology is make money and by that of
- 0:09
course I'm talking about gambling money
- 0:11
the information in here is worth
- 0:12
millions very nice thank you very much
- 0:17
know what make like a tree and get out
- 0:20
of here
- 0:21
several months ago Google released a
- 0:23
machine learning pipeline for their
- 0:25
popular data warehouse bigquery in
- 0:27
today's video you'll learn about sequel
- 0:28
machine learning and cloud
- 0:29
infrastructure with the end goal of
- 0:31
building a predictive model that will
- 0:32
help you determine the outcome of horse
- 0:34
races if you're new to the channel I can
- 0:37
subscribe and you can find a full
- 0:38
walkthrough on fire ship i/o now I don't
- 0:41
mean to disappoint you but you probably
- 0:42
won't get rich betting on horses but by
- 0:44
the end of this video you will know how
- 0:46
to upload your data to big theory and
- 0:47
then run machine learning models against
- 0:49
it without needing to be a data
- 0:50
scientist and the model we'll build will
- 0:52
have predictive values but horse racing
- 0:53
is still very random so use this at your
- 0:56
own risk
- 0:56
first of all what is bigquery and why
- 0:58
would you want to use it it is a
- 1:00
serverless data warehouse that allows
- 1:02
you to store massive amounts of data and
- 1:04
then query that data with standard
- 1:05
sequel statements it provides a
- 1:07
centralized place to put all of your
- 1:08
data which might include things like
- 1:10
fire store Excel spreadsheets legacy
- 1:12
databases etc then you can make queries
- 1:14
against this data to use it for combined
- 1:16
reporting and as we'll see later in the
- 1:18
video for machine learning just keep in
- 1:20
mind it's not a production database so
- 1:21
you wouldn't use it in your front-end
- 1:22
applications for that you would use
- 1:24
something like fire store or a regular
- 1:26
sequel database to get started you just
- 1:28
need to have a Google cloud platform or
- 1:29
a firebase project then you can find
- 1:31
bigquery under the Big Data panel and
- 1:33
then I recommend pinning it to the top
- 1:35
just so it's easy to access on the
- 1:36
console now bigquery is designed to
- 1:38
scale the huge amounts of data and by
- 1:39
huge I mean petabytes of data so when
- 1:42
you make a query it will queue that up
- 1:43
as a job in the background but before we
- 1:45
can get to that point we need to upload
- 1:47
some data to bigquery there are many
- 1:49
different ways to do this but we're just
- 1:50
going to upload a CSV file to cloud
- 1:52
storage and then connect it as a table
- 1:54
to bigquery we're going to grab our
- 1:56
horse racing data from a site called
- 1:58
kaggle it's a platform that allows


