-

- -

Tuesday, December 31, 2019

DeepLearning With TensorFlowJS 1 - Train Data and Test Data

This tutorial is based on the book Deep Learning With JavaScript (TensorFlowJS).

The first script loads the TensorFlow package and defines the symbol tf, which provides a way to refer to names in TensorFlow.

The second script creates two constants, trainData and testData, each representing 20 samples of how long it took to download a file (timeSec) and the size of that file (sizeMB). The elements in sizeMB and those in timeSec have one-to-one correspondence. For example, the first element of sizeMB in trainData is 0.080 MB, and downloading that file took 0.135 seconds—that is, the first element of timeSec—and so forth.

The goal in this example will be to estimate timeSec, given just sizeMB.

https://codepen.io/tfjs-book/pen/VEVMbx

Wednesday, December 25, 2019

[ebook] Neural Networks and Deep Learning free online book.

.

CHAPTER 1: Using neural nets to recognize handwritten digits

In this chapter we'll write a computer program implementing a neural network that learns to recognize handwritten digits. 

.

CHAPTER 2: How the backpropagation algorithm works

In this chapter I'll explain a fast algorithm for computing such gradients, an algorithm known as backpropagation.

.

CHAPTER 3:Improving the way neural networks learn

In this chapter I explain a suite of techniques which can be used to improve on our vanilla implementation of backpropagation, and so improve the way our networks learn.

.

CHAPTER 4:A visual proof that neural nets can compute any function

In this chapter I give a simple and mostly visual explanation of the universality theorem. 

.

CHAPTER 5:Why are deep neural networks hard to train?

In this chapter, we'll try training deep networks using our workhorse learning algorithm - stochastic gradient descent by backpropagation.

.

CHAPTER 6:Deep learning

In this chapter, we'll develop techniques which can be used to train deep networks, and apply them in practice.

.