- What is the benefit of building a machine learning model on the web?
- When we give the TensorHub model to tfjs-converter, what type of format will be generated?
- Layers model
- Graph model
- How many ways can we release the memory that's been allocated to a tensor in a model in TensorFlow.js?
- How can we inspect the structure of the model?
- Describe the major difference between the Core API and the Layers API. When should we use them?
- Construct a multilayer perceptron with the following layers:
- The input is a vector with 784 elements.
- The first intermediate layer is a fully connected layer whose output is a rectified linear unit and has a size of 32.
- The second intermediate layer is a fully connected layer whose output is a rectified linear unit and has a size of 16.
- The output is a softmax layer.
- Is it possible to save a model that contains a custom layer?
Hands-On Machine Learning with TensorFlow.js
By :
Hands-On Machine Learning with TensorFlow.js
By:
Overview of this book
TensorFlow.js is a framework that enables you to create performant machine learning (ML) applications that run smoothly in a web browser. With this book, you will learn how to use TensorFlow.js to implement various ML models through an example-based approach.
Starting with the basics, you'll understand how ML models can be built on the web. Moving on, you will get to grips with the TensorFlow.js ecosystem to develop applications more efficiently. The book will then guide you through implementing ML techniques and algorithms such as regression, clustering, fast Fourier transform (FFT), and dimensionality reduction. You will later cover the Bellman equation to solve Markov decision process (MDP) problems and understand how it is related to reinforcement learning. Finally, you will explore techniques for deploying ML-based web applications and training models with TensorFlow Core. Throughout this ML book, you'll discover useful tips and tricks that will build on your knowledge.
By the end of this book, you will be equipped with the skills you need to create your own web-based ML applications and fine-tune models to achieve high performance.
Table of Contents (17 chapters)
Preface
Free Chapter
Section 1: The Rationale of Machine Learning and the Usage of TensorFlow.js
Machine Learning for the Web
Importing Pretrained Models into TensorFlow.js
TensorFlow.js Ecosystem
Section 2: Real-World Applications of TensorFlow.js
Polynomial Regression
Classification with Logistic Regression
Unsupervised Learning
Sequential Data Analysis
Dimensionality Reduction
Solving the Markov Decision Process
Section 3: Productionizing Machine Learning Applications with TensorFlow.js
Deploying Machine Learning Applications
Tuning Applications to Achieve High Performance
Future Work Around TensorFlow.js
Other Books You May Enjoy
Customer Reviews