bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/AI

AI

Example 1

Example 1 focused on TensorFlow Example 1 and related concepts.

Lesson 1visual

TensorFlow Example 1

Input Data Reduce Loss Explained The model above performs 4 important steps: It Collects Data It Prepares Data It Trains a Model It Evaluates the Model In the next chapters you will learn how to prog…

2 min
Read lesson →
Lesson 2

Example 1 Data

TensorFlow Data Collection The data used in Example 1, is a list of car objects like this: { "Name": "chevrolet chevelle malibu", "Miles_per_Gallon": 18, "Cylinders": 8, "Displacement": 307, "Horsepo…

2 min
Read lesson →
Lesson 3

Example 1 Model

Shuffle Data Always shuffle data before training. When a model is trained, the data is divided into small sets (batches). Each batch is then fed to the model. Shuffling is important to prevent the mo…

2 min
Read lesson →
Lesson 4visual

Example 1 Training

Training Function Example async function trainModel(model, inputs, labels, surface) { const batchSize = 25; const epochs = 50; const callbacks = tfvis.show.fitCallbacks(surface, ['loss'], {callbacks:…

2 min
Read lesson →