| Digital List Price: | $47.99 |
| Kindle Price: | $26.50 Save $21.49 (45%) |
| Sold by: | Amazon.com Services LLC |
Your Memberships & Subscriptions
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Learning TensorFlow.js: Powerful Machine Learning in JavaScript 1st Edition, Kindle Edition
| Price | New from | Used from |
- Kindle
$26.50 Read with our free app - Paperback
$23.08 - $27.896 Used from $19.09 17 New from $23.35
Given the demand for AI and the ubiquity of JavaScript, TensorFlow.js was inevitable. With this Google framework, seasoned AI veterans and web developers alike can help propel the future of AI-driven websites. In this guide, author Gant Laborde (Google Developer Expert in machine learning and the web) provides a hands-on end-to-end approach to TensorFlow.js fundamentals for a broad technical audience that includes data scientists, engineers, web developers, students, and researchers.
You'll begin by working through some basic examples in TensorFlow.js before diving deeper into neural network architectures, DataFrames, TensorFlow Hub, model conversion, transfer learning, and more. Once you finish this book, you'll know how to build and deploy production-readydeep learning systems with TensorFlow.js.
- Explore tensors, the most fundamental structure of machine learning
- Convert data into tensors and back with a real-world example
- Combine AI with the web using TensorFlow.js
- Use resources to convert, train, and manage machine learning data
- Build and train your own training models from scratch
- ISBN-13978-1492090793
- Edition1st
- Kindle feature
Sticky notes
- PublisherO'Reilly Media
- Publication date
2021
May 10
- Language
EN
English
- File size12.9 MB
Customers who read this book also read
From the brand
-
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
From the Publisher
From the Preface
Why TensorFlow.js?
TensorFlow is one of the most popular machine learning frameworks on the market. It’s supported by Google’s top minds and is responsible for powering many of the world’s most influential companies. TensorFlow.js is the indomitable JavaScript framework of TensorFlow and is better than all the competitors. In short, if you want the power of a framework in JavaScript, there’s only one choice that can do it all.
Who Should Read This Book?
Two primary demographics will enjoy and benefit from the contents of this book:
The JavaScript developer: If you’re familiar with JavaScript, but you’ve never touched machine learning before, this book will be your guide. It leans into the framework to keep you active in pragmatic and exciting creations. You’ll comprehend the basics of machine learning with hands-on experience through the construction of all kinds of projects. While we won’t shy away from math or deeper concepts, we also won’t overly complicate the experience with them. Read this book if you’re building websites in JavaScript and want to gain a new superpower.
The AI specialist: If you’re familiar with TensorFlow or even the fundamental principles of linear algebra, this book will supply you with countless examples of how to bring your skills to JavaScript. Here, you’ll find various core concepts illustrated, displayed, and portrayed in the TensorFlow.js framework. This will allow you to apply your vast knowledge to a medium that can exist efficiently on edge devices like client browsers or the Internet of Things (IoT). Read this book and learn how to bring your creations to countless devices with rich interactive experiences.
This book requires a moderate amount of comfort in reading and understanding modern JavaScript.
Editorial Reviews
From the Author
Be sure to share your creations, tag your work with the #MadeWithTFJS tag, and feel free to reach out to me to share your story. I'm excited and honored to be your guide. --This text refers to the paperback edition.
From the Back Cover
"Learning TensorFlow.js enables you to take your first steps with TensorFlow.js, allowing any JavaScript developer to gain superpowers in their next web application and beyond" - Jason Mayes (Senior Developer Relations Engineer for TensorFlow.js, Google)
"Gant's ability to navigate explaining complexities of machine learning while avoiding the pitfalls of complicated mathematics is uncanny, and you'd be hard-pressed to find a better introduction to data science using JavaScript" - Lee Warrick (Full Stack JavaScript Developer) --This text refers to the paperback edition.
About the Author
Product details
- ASIN : B094LZN7WD
- Publisher : O'Reilly Media; 1st edition (May 10, 2021)
- Publication date : May 10, 2021
- Language : English
- File size : 13162 KB
- Simultaneous device usage : Unlimited
- Text-to-Speech : Enabled
- Screen Reader : Supported
- Enhanced typesetting : Enabled
- X-Ray : Not Enabled
- Word Wise : Not Enabled
- Sticky notes : On Kindle Scribe
- Print length : 505 pages
- Best Sellers Rank: #896,079 in Kindle Store (See Top 100 in Kindle Store)
- #126 in Java Computer Programming
- #203 in Neural Networks
- #471 in Computer Neural Networks
- Customer Reviews:
About the author

Like the many algorithms he’s written over the past 20+ years, Gant Laborde
voraciously consumes vast quantities of data and outputs solutions. In his
early days, Gant created a website that became one of the top 100,000
websites worldwide. Now he’s Chief Innovation Officer and co-owner of
Infinite Red, an industry-leading web and app development company. Besides
managing an all-star roster of talent located across the globe, Gant is also
a published author, adjunct professor, volunteer mentor, and speaker at
conferences worldwide.
A personable mad scientist, Gant is a consummate explorer who loves
explaining and charting the things he discovers. From learning about AI and
teaching computers to do things he could never do on his own, to exploring
the topography of New Orleans with its masked balls and secret rooms, Gant
lives to find the next amazing, undiscovered thing. This approach to life
makes him an avid and formidable problem solver.
Whether a given question involves technology, processes, and/or people, Gant
approaches each problem with curiosity and enthusiasm. He’s a motivated
self-educator who thrives when passing along what he’s learned to others.
(That might explain why he goes on so many podcasts, but it doesn’t explain
why people keep sending him Nicolas Cage memes. It is a mystery. 👻) Gant is
also a lifelong advocate for open source.
A proud New Orleans native, Gant credits his city’s indomitable spirit as
the inspiration for his drive and ability to persevere through any obstacle.
“New Orleans doesn’t know how to quit,” Gant says. “That’s why I love it.”
Gant mentors at his local Toastmasters Club and channels his competitive
spirit into local dodgeball games, Rocket League, and Beat Saber (wanna
play?). Most importantly, he’s the proud father to his adorable daughter
Mila!
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonReviews with images
Submit a report
- Harassment, profanity
- Spam, advertisement, promotions
- Given in exchange for cash, discounts
Sorry, there was an error
Please try again later.-
Top reviews
Top reviews from the United States
There was a problem filtering reviews right now. Please try again later.
In particular, I enjoyed the author's explanation of tensors. Note: the foreground of the book's photo that I have attached: I donated my chess board as an image tensor.
The reason that I read this book from cover to cover is because I truly believe that AI learning is going to be the next internet. In this book the author taught me to use Google's TensorFlow.js to maximize the return on any mathematical operation.
Reviewed in the United States on June 4, 2021
In particular, I enjoyed the author's explanation of tensors. Note: the foreground of the book's photo that I have attached: I donated my chess board as an image tensor.
The reason that I read this book from cover to cover is because I truly believe that AI learning is going to be the next internet. In this book the author taught me to use Google's TensorFlow.js to maximize the return on any mathematical operation.
Gant has done something special with this book. In just 300 pages, he takes you end-to-end, in-depth through everything you need to know from an introduction to AI, understanding tensors, using them in the browser, deploying them, and more.
It ends with a capstone project (what a great idea, I might have to steal it for my next book!), where you can use Machine Learning to convert an image into a set of dice, like the attached picture.
How much fun is that?
I love this book because it is for a different audience than the traditional ML one. It starts with a great introduction to AI and then tells you about TensorFlow.js and how you can use it to build Machine Learning apps. Then, the mystery of Tensors is cracked open, and Gant leads you through some detailed examples of how you can convert images into Tensors for training and inference.
It guides you through the three main ways to get a working model.
First, you can find an existing model from TensorFlow Hub, and in Chapter 5, Gant leads you through using the inception model in JavaScript. Inception isn’t any toy model, though – it is a Convolutional Neural Network designed for image analysis and object detection. It’s not that long ago that it was state-of-the-art in research. And now it’s available in JavaScript!
Or, you can create your model from scratch, and Gant takes you through the code for defining layers, with deep neural networks to help predict numeric data (such as the famous titanic dataset) or Convolutional Neural networks for image classification.
Finally, there’s Transfer Learning, which could be the most exciting method for most developers, where you have a hybrid of both of the previous methods. You can stand on the shoulders of giants by using parts of an existing model, like Inception, but catered for your own needs.
When I started my Machine Learning journey, one frustration I had was that there was lots of material for creating models but relatively little for using them. The tutorial would end with a validation set showing how accurate the model was, and then it would move on to the next thing! I am delighted to say that this book does not fall into that pattern! So, if you want to build a browser-based app that uses a model, you’ll get lots of code showing you how!
For example, Chapter 6 shows you how to use the webcam in the browser, capturing frames and passing them to a model for classification. Chapter 10 shows you how to create a basic sketchpad for drawing images that a model can interpret.
Whether you’re an experienced Machine Learning expert, looking to see how to apply JavaScript to help solve your problems, or a JavaScript developer who wants to enter the wonderful world of ML, this book is for you.
Reviewed in the United States on June 3, 2021
Gant has done something special with this book. In just 300 pages, he takes you end-to-end, in-depth through everything you need to know from an introduction to AI, understanding tensors, using them in the browser, deploying them, and more.
It ends with a capstone project (what a great idea, I might have to steal it for my next book!), where you can use Machine Learning to convert an image into a set of dice, like the attached picture.
How much fun is that?
I love this book because it is for a different audience than the traditional ML one. It starts with a great introduction to AI and then tells you about TensorFlow.js and how you can use it to build Machine Learning apps. Then, the mystery of Tensors is cracked open, and Gant leads you through some detailed examples of how you can convert images into Tensors for training and inference.
It guides you through the three main ways to get a working model.
First, you can find an existing model from TensorFlow Hub, and in Chapter 5, Gant leads you through using the inception model in JavaScript. Inception isn’t any toy model, though – it is a Convolutional Neural Network designed for image analysis and object detection. It’s not that long ago that it was state-of-the-art in research. And now it’s available in JavaScript!
Or, you can create your model from scratch, and Gant takes you through the code for defining layers, with deep neural networks to help predict numeric data (such as the famous titanic dataset) or Convolutional Neural networks for image classification.
Finally, there’s Transfer Learning, which could be the most exciting method for most developers, where you have a hybrid of both of the previous methods. You can stand on the shoulders of giants by using parts of an existing model, like Inception, but catered for your own needs.
When I started my Machine Learning journey, one frustration I had was that there was lots of material for creating models but relatively little for using them. The tutorial would end with a validation set showing how accurate the model was, and then it would move on to the next thing! I am delighted to say that this book does not fall into that pattern! So, if you want to build a browser-based app that uses a model, you’ll get lots of code showing you how!
For example, Chapter 6 shows you how to use the webcam in the browser, capturing frames and passing them to a model for classification. Chapter 10 shows you how to create a basic sketchpad for drawing images that a model can interpret.
Whether you’re an experienced Machine Learning expert, looking to see how to apply JavaScript to help solve your problems, or a JavaScript developer who wants to enter the wonderful world of ML, this book is for you.
Most machine learning books are going to ask you to delve into the realm of linear algebra and theory, but Gant does his level best to steer clear of confusing mathematics here. This book focuses on practical methods for using Tensorflow and also serves as a great introduction to high-level machine learning concepts. The writing is incredibly accessible and the explanations are fun which makes this an easy read for most as long as you're already familiar with JavaScript.
For me, probably the biggest value here is a demystification of the inner-workings of machine learning. Sure, it's all about math internally, but this book excels at explaining how ML works beyond the math, meaning that you'll walk away with a greater understanding of how things like augmented reality, natural language processing, and image recognition work. You'll begin to notice how much machine learning has worked its way into our everyday lives through things like proximity sensors and lane assist on cars, voice commands in smart devices, etc.
As far as projects go, Gant guides you through leveraging existing models all the way through building and training your own by the end of the book. He even goes as far as providing examples in NodeJS and the browser so you're not limited to a certain environment.
Reading this won't make you a master of machine learning, a data scientist, or a mathematician, but you'll definitely be primed for harder texts on the subject should you choose to continue down that path.
Overall, if you'd like to get into machine learning as a front-end web developer, this is your book.
I recently started a new position at a speech-to-text startup and I was incredibly excited to see how Gant’s book prepared me for onboarding to my new position. I understood the approach, terminology, and how that applied to my position in DevRel. It’s been a great resource for me as a frontend dev.
Top reviews from other countries
The Book explain everything in peaceful way no complications or unnecessary staff. But it's worth noting it's great start but not for advanced users.















