© 2021

Practical Machine Learning in JavaScript

TensorFlow.js for Web Developers

  • Move from basic web development into the field of machine learning

  • Incorporate the ethics of AI into your development considerations

  • Harness your existing skills with JavaScript to learn a new approach to development


Table of contents

  1. Front Matter
    Pages i-xvi
  2. Charlie Gerard
    Pages 1-24
  3. Charlie Gerard
    Pages 25-43
  4. Charlie Gerard
    Pages 45-66
  5. Charlie Gerard
    Pages 67-134
  6. Charlie Gerard
    Pages 135-286
  7. Charlie Gerard
    Pages 287-303
  8. Charlie Gerard
    Pages 305-316
  9. Back Matter
    Pages 317-323

About this book


Build machine learning web applications without having to learn a new language. This book will help you develop basic knowledge of machine learning concepts and applications. 

You’ll learn not only theory, but also dive into code samples and example projects with TensorFlow.js. Using these skills and your already honed skills as a web developer, you’ll add a whole new field of development to your skill set. This will give you a more concrete understanding of the possibilities offered by machine learning. Discover how ML will impact the future of not just programming in general, but web development specifically. Get started in machine learning with web technologies.

Machine learning is currently one of the most exciting technology fields with the potential to impact industries from health to home automation to retail, and even art. Google has now introduced TensorFlow.js—an iteration of TensorFlow aimed directly at web developers. Practical Machine Learning in JavaScript will help you stay relevant in the tech industry with new tools, trends, and best practices.

You will:
  • Use the JavaScript framework for ML
  • Build machine learning applications for the web
  • Develop dynamic and intelligent web content


TensorFlow TensorFlow.js Machine Learning Deep Learning JavaScript ML DL AI Artificial Intelligence Neural Networks

Authors and affiliations

  1. 1.Les Clayes sous boisFrance

About the authors

Charlie Gerard is a Senior front-end developer at Netlify, a Google Developer Expert in Web Technologies, and a Mozilla Tech Speaker. She is passionate about exploring the possibilities of the web and spends her personal time building interactive prototypes using hardware, creative coding, and machine learning. She has been diving into ML in JavaScript for over a year and built a variety of projects. She’s excited to share what she’s learned and help more developers get started.

Bibliographic information