AI Lab 02: Neural Networks & Decision Boundaries with TensorFlow Playground

  • Estimated Time: 5 hours
  • Tools Required: TensorFlow Playground (Completely free, runs directly in your browser, no-code)
  • Hardware Required: A computer with an internet connection.

Lab Objectives

  • Understand the basic components of a Neural Network: Inputs (Features), Hidden Layers, Neurons, and Outputs.
  • Observe how an AI learns to separate (classify) different groups of data by drawing "Decision Boundaries."
  • Core Task: Through trial and error, discover why simple data can be separated by a straight line, while complex data requires deeper networks (more layers) and engineered features.

5-Hour Schedule & Step-by-Step Breakdown

🎯 Pro-Tips for Students (How to Avoid Common Pitfalls)

  • Don't Overcomplicate Too Early: For simple data (like the blobs), adding 5 layers with 8 neurons each won't improve it; it will actually make the boundary jagged and overly complex (a phenomenon called Overfitting). Rule of thumb: Always start simple and only add layers if the AI fails.
  • Watch the Epochs: Sometimes the AI gets "stuck" for a few seconds, and then suddenly figures it out around Epoch 300. Give it a little time to learn before you hit the stop button!

© 2026 Air Supply Information Center (Air Supply BBS)