Skip to main content

Google AI for JavaScript developers with TensorFlow.js

Get productive with TensorFlow.js - Google's Machine Learning library for JavaScript. From pre-made off the shelf models to writing or training your own, learn how to create next gen web apps.

Google AI for JavaScript developers with TensorFlow.js

There is one session available:

After a course session ends, it will be archived.
Starts Dec 15
Estimated 5 weeks
3–4 hours per week
Progress at your own speed
Optional upgrade available

About this course

Skip About this course

Are you a web engineer, designer, or creative thinker looking to apply AI or use Machine Learning in your next web application but are unsure where to begin? Or maybe you’re overwhelmed by other courses that focus more on the mathematical proofs than actually enabling you to use these new technologies for real world applications? This course offers a solution and the knowledge to be the "missing manual" for JavaScript users without a background in Machine Learning.

Machine Learning (ML) on the web is growing faster than ever so now is the time to take your first steps too. Learn what the difference is between Artificial Intelligence, Machine Learning, and Deep Learning but also how to use such techniques practically through real examples using TensorFlow.js - Google's leading ML library for JavaScript.

Supercharge your next web app with superpowers - from classifying text in a blog post comment to automatically block spam, to using sensors like a webcam on your mobile device to alert you when your dog is on the couch after you left the house. The knowledge you learn could be applied to any business OR creative idea you have for your next project no matter what industry you may be working in.

Better yet, JavaScript is one of few programming languages that can run everywhere enabling you to leverage the knowledge from this course and apply it client side, server side, via native apps, and even IoT devices allowing you to reuse what you learn across multiple environments.

​This course aims to educate, inspire, and enable you to rapidly create your next ML powered idea in this rapidly emerging industry while providing you with a solid foundation to understand the field and confidence to explore the industry further.

Web applications are evolving, so sign up, join the fun, and get an edge over the competition. No background in ML is required to take the course. A basic, working knowledge of web technologies such as HTML, CSS, and JavaScript is highly recommended.

At a glance

What you'll learn

Skip What you'll learn
  • Common terms and what they mean
  • How Machine Learning works (without formal mathematical definitions)
  • Overview of the TensorFlow.js library
  • Advantages of using ML in JavaScript
  • Ways to consume or create Machine Learning models
  • How to use pre-made “off the shelf” models
  • What Tensors are in Machine Learning
  • How to use Tensors with ML models
  • How to write a simple custom model
  • Perceptrons (artificial neuron) and how they work
  • Linear regression to predict numbers using single neuron
  • Multi layered perceptrons for handling more complex data
  • How to use models that use Convolutional Neural Networks for images
  • How to convert Python models to JavaScript
  • Transfer learning - reusing existing trained models with your own data
  • Inspiring projects others are creating to seed your own future ideas

1. Welcome to TensorFlow.js

1.1 Course overview and how people are applying skills you will learn

1.2 Who is the course aimed at

1.3 Introduce yourself

1.4 What will you be making?

1.5 Your background

2. Introduction to ML & TensorFlow.js

2.1 What's the difference - AI / ML / Deep Learning

2.2 Demystifying Machine Learning

2.3 Test your knowledge

2.4 What is TensorFlow.js

2.5 Three ways to use ML

2.6 Test your knowledge

3. Using Pre-Made models

3.1 What are pre-made models?

3.2 Selecting the right model to use

3.3 Quiz

3.4 Case study - using a pre-made model for object detection

3.5 Make your own smart security camera

3.6 Loading saved TensorFlow.js models directly

3.7 Tensors in Tensors out

3.8 Coding practice

4. Writing custom models

4.1 Rolling your own models

4.2 Starting simple: Predicting a number

4.3 Going deeper: Perceptrons

4.4 Using a perceptron to predict numbers

4.5 Implementing a perceptron for linear regression

4.6 Test your knowledge

4.7 Going deeper: Multi-layered perceptron

4.8 Implementing a multi-layered perceptron

4.9 Training a multi layered perceptron for classification task

4.10 Test your knowledge

4.11 Beyond perceptrons

4.12 Researching other ML architecture types

5. Transfer Learning

5.1 Reusing existing models

5.2 Make Teachable Machine yourself

5.3 Project ideas

5.4 Test your knowledge

6. Reusing models from Python

6.1 Benefits of model reuse

6.2 Converting Python saved models6.10 Test knowledge

6.3 Convert a model yourself

6.4 Comment Spam detection

6.5 Choosing an appropriate model

6.6 Use converted model to check spam in real application

6.7 Dealing with edge cases

6.8 Retraining a model to deal with custom edge cases

6.9 What models would you convert?

7. To the future and beyond

7.1 Machine Learning as a Web Engineer

7.2 Find a friend to continue hacking

7.3 Course summary and how to join the TensorFlow.js community

About the instructors

Who can take this course?

Unfortunately, learners residing in one or more of the following countries or regions will not be able to register for this course: Iran, Cuba and the Crimea region of Ukraine. While edX has sought licenses from the U.S. Office of Foreign Assets Control (OFAC) to offer our courses to learners in these countries and regions, the licenses we have received are not broad enough to allow us to offer this course in all locations. edX truly regrets that U.S. sanctions prevent us from offering all of our courses to everyone, no matter where they live.

Interested in this course for your business or team?

Train your employees in the most in-demand topics, with edX for Business.