Skip to Content
Learning TensorFlow.js
book

Learning TensorFlow.js

by Gant Laborde
May 2021
Intermediate to advanced
338 pages
7h 44m
English
O'Reilly Media, Inc.
Content preview from Learning TensorFlow.js

Chapter 12. Dicify: Capstone Project

“Everybody has a plan until they get punched in the mouth.”

—Iron Mike Tyson

All of your training has gotten you through a variety of theories and exercises. As of right now, you know enough to come up with a plan to build new and creative uses for machine learning in TensorFlow.js. In this chapter, you’ll develop your capstone project. Rather than learning yet another aspect of machine learning with TensorFlow.js, you’ll start this chapter with a challenge, and you’ll use your existing skills to build a solution that works. From idea to completion, this chapter will guide you through the execution of solving a problem. Whether this is your first book on machine learning or your 10th, this capstone is your time to shine.

We will:

  • Research the problem

  • Create and augment data

  • Train a model that will solve the problem

  • Implement the solution in a website

When you finish this chapter, you’ll have applied your skills from beginning to end to solve a fun machine learning project.

A Dicey Challenge

We’ll be using your newfound skill to blur the line between art and science. Engineers have been using machines for impressive visual feats for years. Most notably, the camera obscura technique (as shown in Figure 12-1) allowed mad scientists to trace live scenery with a lens and a mirror.1

person looking into dark box camera obscura
Figure 12-1. Camera obscura

Today, people are making ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

TensorFlow.js Model Training

TensorFlow.js Model Training

Andrej Baranovskij
The Hidden Cost of AI-Assisted Creativity

The Hidden Cost of AI-Assisted Creativity

Léonard Boussioux, Anil Doshi, Oliver Hauser, Kartik Hosanagar

Publisher Resources

ISBN: 9781492090786Errata Page