Chapter 10: Introduction to TensorFlow.js

In the previous chapter, you were introduced to the basics of machine learning (ML), and you learned some theoretical foundations that are required in order to build and use ML models.

In this chapter, we'll introduce you to an efficient and popular ML library in JavaScript called TensorFlow.js. By the end of this chapter, you'll know how to install and use TensorFlow.js, how to create tensors, how to operate on tensors using the Core application programming interface (API), as well as how to build a regression model using TensorFlow.js's Layer API.

In this chapter, we will cover the following topics:

  • What is TensorFlow.js?
  • Installing and using TensorFlow.js
  • Tensors and basic operations on tensors

Get Building Data-Driven Applications with Danfo.js now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.