Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 2.29 KB

File metadata and controls

21 lines (12 loc) · 2.29 KB

Solutions for Section 1

Introducing TensorFlow.js and Machine Learning

These are the solutions for Section 1 of the Machine Learning in JavaScript with TensorFlow.js course. See solutions index for solutions to other sections.

Lab: TensorFlow Playground

This is an open lab - an opportunity for you to experiment. As such, there are no strict right and wrong answers.

However, the following links show possible solutions to the suggestions in the lab:

  1. Regression model requiring minimal epochs to train - by reducing the complexity of the model (fewer layers and nodes), and increasing the learning rate, it typically takes around 12 epochs to reach loss of 0.001. Be careful, this solution won't work for any data, but does for this simple linear regression model.
  2. XOR (Exclusive Or) model - one of many possible solutions.
  3. Spiral model - one of many possible solutions.

Each link will open a model configuration in the TensorFlow Playground. You can push the play button to watch the training process for the model.


See solutions index for solutions to other sections.