Fireship · @fireship
TensorFlow.js Quick Start
Uploaded April 3, 2018 · Length 11:17
Summary
This video teaches how to use TensorFlow.js to build and train machine learning models in the browser, including a linear regression example and an image recognition model.
- tensorflow js
- machine learning in browser
- linear regression
- image recognition
- neural networks
- javascript machine learning
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
[Music]
- 0:02
the most exciting thing to happen last
- 0:04
week was the announcement of tensorflow
- 0:06
GS
- 0:07
a javascript library that allows us to
- 0:09
build train and make predictions from
- 0:11
machine learning models directly in the
- 0:13
browser will use tensorflow j/s with
- 0:16
angular to take a hand-drawn digit image
- 0:18
and then predict its actual numeric
- 0:20
value I'm super excited about this
- 0:23
because it opens up a whole new world of
- 0:24
possibilities to combine web development
- 0:26
with machine learning make sure to
- 0:29
subscribe if you're new here and you can
- 0:30
grab the source code from angular
- 0:32
firebase com the first thing we need to
- 0:34
answer is what is tensorflow and the
- 0:37
simple answer is that it's a library for
- 0:39
performing mathematical computations but
- 0:41
it's famous for building deep neural
- 0:43
networks that power some of the most
- 0:44
impressive artificial intelligence
- 0:46
technology that we have in the world
- 0:48
today the sad part of this answer is
- 0:50
that if you don't have a background in
- 0:52
machine learning tensorflow is not going
- 0:54
to be very easy to use or very useful to
- 0:56
you that being said I started out with
- 0:58
zero machine learning knowledge a couple
- 1:00
years ago and it worked my way up to an
- 1:02
expert rake on kaggle which is the hub
- 1:04
for data science competition around the
- 1:06
world if you want to get really good at
- 1:08
machine learning I recommend spending
- 1:09
about half your time with traditional
- 1:11
courses such as Coursera or Google's
- 1:13
machine learning crash course and spend
- 1:15
the other half of your time applying
- 1:17
what you learn in data science
- 1:18
competitions on Kaggle but be careful
- 1:21
because data science competitions can be
- 1:23
very very addicting if you're watching
- 1:25
this video with zero machine learning
- 1:27
background I still want to give you a
- 1:28
high-level overview of how machine
- 1:30
learning models work the typical
- 1:32
narrative goes something like this we
- 1:34
have a set of data and each item in that
- 1:36
data set has a label telling us what it
- 1:38
is in this video we're using a data set
- 1:41
called M nest which is a series of
- 1:42
images of hand drawn digits because
- 1:46
you're most likely a human being it's
- 1:47
easy for you to recognize what these
- 1:49
digits are but to a computer each image
- 1:51
just looks like a matrix of values and
- 1:54
it has no way to discern the context or
- 1:56
actual meaning of the image itself a
- 1:58
typical image recognition convolutional


