Deep Learning With JavaScript: Neural Networks in TensorFlow. Js by Shanqing Cai & Stan Bileschi & Eric Nielsen
Author:Shanqing Cai & Stan Bileschi & Eric Nielsen [Cai, Shanqing & Bileschi, Stan & Nielsen, Eric]
Language: eng
Format: epub
Tags: computers, Data Science, Neural Networks, Artificial Intelligence, General, Languages, JavaScript
ISBN: 9781617296178
Google: N2dswgEACAAJ
Publisher: Manning
Published: 2020-02-11T23:39:41.009520+00:00
This is the first time you encounter sequential input data in this book. In the next chapter, we will dive deeper into how to build specialized and more powerful models (RNNs) for sequential data in TensorFlow.js. But here, we will approach the problem using two types of models we already know: linear regressors and MLPs. This forms a buildup to our study of RNNs and gives us a baseline that can be compared with the more advanced models.
The actual code that performs the data-generation process illustrated in figure 8.1 is in jena-weather/data.js, under the function getNextBatchFunction(). This is an interesting function because instead of returning a concrete value, it returns an object with a function called next(). The next() function returns actual data values when itâs called. The object with the next() function is referred to as an iterator. Why do we use this indirection instead of writing an iterator directly? First, this conforms to the generator/iterator specification of JavaScript.[2] We will soon pass it to the tf.data .generator() API in order to create a dataset object for model training. The API requires this function signature. Second, our iterator needs to be configurable; a function that returns the iterator is a good way to enable the configuration.
2
See âIterators and Generators,â MDN web docs, http://mng.bz/RPWK.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Exploring Deepfakes by Bryan Lyon and Matt Tora(7735)
Robo-Advisor with Python by Aki Ranin(7630)
Offensive Shellcode from Scratch by Rishalin Pillay(6110)
Microsoft 365 and SharePoint Online Cookbook by Gaurav Mahajan Sudeep Ghatak Nate Chamberlain Scott Brewster(5030)
Ego Is the Enemy by Ryan Holiday(4958)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4438)
Python for ArcGIS Pro by Silas Toms Bill Parker(4186)
Elevating React Web Development with Gatsby by Samuel Larsen-Disney(3892)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(3630)
Learning C# by Developing Games with Unity 2021 by Harrison Ferrone(3285)
Speed Up Your Python with Rust by Maxwell Flitton(3231)
Liar's Poker by Michael Lewis(3227)
OPNsense Beginner to Professional by Julio Cesar Bueno de Camargo(3195)
Extreme DAX by Michiel Rozema & Henk Vlootman(3172)
Agile Security Operations by Hinne Hettema(3124)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic and Jasmin Redzepagic(3109)
Essential Cryptography for JavaScript Developers by Alessandro Segala(3083)
Cryptography Algorithms by Massimo Bertaccini(3002)
AI-Powered Commerce by Andy Pandharikar & Frederik Bussler(2983)
