Chapter 2. Getting started: Simple linear regression in TensorFlow.js
This chapter covers
- A minimal example of a neural network for the simple machine-learning task of linear regression
- Tensors and tensor operations
- Basic neural network optimization
Nobody likes to wait, and it’s especially annoying to wait when we don’t know how long we’ll have to wait for. Any user experience designer will tell you that if you can’t hide the delay, then the next best thing is to give the user a reliable estimate of the wait time. Estimating expected delays is a prediction problem, and the TensorFlow.js library can be used to build an accurate download-time prediction, sensitive to the context and user, enabling us to build clear, reliable experiences that ...
Get Deep Learning with JavaScript 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.