Tensorflow.js

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Table of Contents[edit | edit source]

Introduction to TensorFlow.js[edit | edit source]

  1. TensorFlow.js is a JavaScript library for training and deploying machine learning models in the browser or on Node.js. It provides a high-level API for building and training models, as well as tools for visualizing and debugging them. TensorFlow.js is built on top of TensorFlow, a powerful and widely-used machine learning library for Python. With TensorFlow.js, developers can use the same models and techniques in JavaScript that they would use in Python, making it easy to build and deploy machine learning applications in the web and Node.js environments.

Setting up a TensorFlow.js project[edit | edit source]

Basic operations with Tensors[edit | edit source]

Building and training models[edit | edit source]

Convolutional Neural Networks (CNNs) in TensorFlow.js[edit | edit source]

Recurrent Neural Networks (RNNs) in TensorFlow.js[edit | edit source]

Transfer Learning in TensorFlow.js[edit | edit source]

Visualizing and debugging models[edit | edit source]

Deploying models to the web and Node.js[edit | edit source]

Conclusion and further resources[edit | edit source]