How to Use This Companion
PDF Book + Web Resources
This companion website works alongside the PDF textbook:
| Resource | What You Get |
|---|---|
| PDF Book | Complete theory, detailed explanations, all code listings |
| This Website | Interactive notebooks, simulations, exercises, quick reference |
Recommended Workflow
- Read the chapter in the PDF book first
- Run the interactive notebook to experiment with code
- Try the simulation to visualize key concepts
- Complete the exercises at your level
Chapter-by-Chapter Resources
| Lab | PDF Section | Notebook | Simulation | Exercises |
|---|---|---|---|---|
| LAB01 | Introduction | Open | - | Level 1 |
| LAB02 | ML Foundations | Open | Gradient Descent | Level 1 |
| LAB03 | Quantization | Open | Quantization Explorer | Level 1 |
| LAB04 | Keyword Spotting | Open | - | Level 1 |
| LAB05 | Deployment | Open | - | All Levels |
| LAB06 | Security | Open | Adversarial Attack | Level 1 |
| LAB07 | CNNs | Open | - | Level 1 |
| LAB08 | Arduino | Open | Wokwi | Level 3 |
| LAB09 | ESP32 | Open | Wokwi | Level 3 |
| LAB10 | EMG | Open | - | Level 3 |
| LAB11 | Profiling | Open | - | Level 1 |
| LAB12 | Streaming | Open | - | Level 2 |
| LAB13 | Distributed | Open | - | Level 2 |
| LAB14 | Anomaly | Open | - | Level 1 |
| LAB15 | Energy | Open | - | Level 3 |
| LAB16 | YOLO | Open | NMS Visualization | Level 2 |
| LAB17 | Federated | Open | FL Simulator | Level 2 |
| LAB18 | On-Device | Open | - | Level 3 |
Running Notebooks
Option 1: Google Colab (Recommended)
Click the “Open in Colab” badge on any notebook to run it in Google Colab with free GPU access.
Option 2: Local Jupyter
# Clone the repository
git clone https://github.com/YOUR_USERNAME/edge-analytics-lab-book.git
cd edge-analytics-lab-book
# Install dependencies
pip install -r requirements.txt
# Start Jupyter
jupyter lab notebooks/Option 3: Binder
Click the Binder badge to launch a temporary notebook environment (slower startup).
Hardware Requirements by Level
Level 1: No Hardware Required
- Google Colab or local Python environment
- All exercises run in browser
Level 2: Simulators Only
- Web browser with JavaScript
- Wokwi for Arduino/ESP32 simulation
- Docker (optional) for multi-node simulations
Level 3: Physical Devices
See the Hardware Guide for recommended:
- Arduino Nano 33 BLE Sense (~$35)
- ESP32 DevKit (~$10)
- Raspberry Pi 4 (~$55)
- Sensors and peripherals