Deep Learning with Javascript 2.1-2.4

Posted on March 22, 2020

Notes on chapter two of Deep Learning with Javascript

2.1 Example 1: Predicting download duration with Tensorflow.js 2.1.1 Overview

2.1 Example 1: Predicting download duration with Tensorflow.js

Goals

Cover tensors, modeling, and optimization what they are and how thework and how to use them appropriately.

2.1.1 Overview

Below are the steps we’ll take in order to accept a file size and output an accurate prediction of download time.

This will be an array.

  • Example:

    const training_data = [x₁, x₂ ... xₓ]

Data representations must be tensors.

Build a simple linear model that is Keras compatible with the Tensorflow.js layers.

Fit the model to the training

Predict time form file size.