courseware-embedded-machine-learning: The Filename Is the Database: How Edge Impulse Teaches TinyML

A courseware repo mostly made of PowerPoints and notebooks. One Python script turns their filenames into a navigable course index.

8 min read • View on GitHub • More from edgeimpulse

A wide editorial illustration of a long numbered archive shelf receding into perspective. Each slot holds a document (a slide deck, a bound notebook, a stapled reading packet) labeled with a filename tag. At the right end, a compact drafting-instrument armature reads the labels and prints a clean index table onto a strip of paper rolling out beneath it. The image maps the folder listing to the generated course index.
The shelf is the folder. The labels are the filenames. The armature is autogen-tables.py, and the printed strip is the markdown index it writes.
Key Takeaways

The Filename Is the Database

Open a module folder in edgeimpulse/courseware-embedded-machine-learning and you see a flat pile of files. Look closer and you see a record format. Every file is named to the same pattern, spelled out in the header of the one Python script in the repo: [module].[section].[resource].resource-name.[attribution].[extension].

Take 1.1.3.what-is-tiny-machine-learning.3.pptx. The first three fields are integer sort keys. The fourth is the display text. The fifth points at a license footnote. The sixth tells the index generator what kind of link to write. There is no frontmatter, no config file, no CMS. The filename is the row.

# utils/autogen-tables.py (representative of the described logic)
files = [f for f in os.listdir(directory) if not os.path.isdir(f)]
parsed = [f.split('.') for f in files]
parsed.sort(key=lambda x: (int(x[0]), int(x[1]), int(x[2])))

for p in parsed:
    desc = p[3].replace('-', ' ').capitalize()
    ext = p[-1]
    if ext in ('docx', 'pptx'):
        url = f"{base}/{'.'.join(p)}?raw=true".replace(' ', '%20')
    elif ext == 'ipynb':
        url = colab_url(p)
    else:
        exit()
    attr = attr_urls[p[4]]

That is the whole engine. os.listdir() returns a folder listing. split('.') turns each name into fields. The tuple sort key reorders them numerically, so 1.10 lands after 1.9 instead of before it. The extension drives link dispatch: .pptx and .docx become ?raw=true downloads, .ipynb becomes a Colab URL, and anything unrecognized calls exit() and stops the build.

Pick a filename, watch it split into its six fields, and see the index row it produces. The malformed entry shows what happens when the convention breaks.

The fragility is part of the design. A stray dot anywhere in a resource name corrupts the parse, because split('.') has no way to know which dot is structural. An unknown extension halts the script outright rather than writing a broken link. And desc.capitalize() lowercases everything after the first character, so an acronym like TinyML would render as Tinyml. The authors avoid acronyms in filenames, which is why nobody has tripped over it.

This repository houses a collection of slides, reading material, project prompts, and sample questions to get you started creating your own embedded machine learning course.

Edge Impulse courseware maintainers, Repository authors · Embedded Machine Learning Courseware

What This Repo Actually Is

Eight modules, roughly one per week: an intro to ML, deep learning basics, the ML workflow, model deployment, anomaly detection, image classification with CNNs, object detection, and keyword spotting. The large majority of files are .pptx and .docx (slides, readings, quizzes, project prompts), with about twenty Jupyter notebooks layered in for the hands-on parts.

Three CI workflows run against all of it. One checks every link recursively, one lints the markdown, one runs a spellcheck against a custom wordlist. For a folder of PowerPoints, that is more quality control than most codebases bother with.

The framing matters. This is an instructor-facing archive, not a learner-facing course. The README is explicit that it is not a complete semester, and it invites educators to pull modules, rearrange them, and make modifications. The polished, sequenced version of this material lives on Coursera. The repository is the substrate underneath it.

Please note that the content in this repository is not intended to be a full semester-long course.

Edge Impulse courseware maintainers, Repository authors · Embedded Machine Learning Courseware

Why an ML Company Built a University

Edge Impulse sells a platform for building and deploying ML on edge devices. Teaching is a distribution strategy that also happens to be genuinely useful: if instructors teach with your tooling, their students arrive already fluent. The company's University program is that bet, and this repository is its reusable half.

The Coursera announcement names the people and partners: instructor Shawn Hymel, plus Coursera, Arm, Arduino, and the tinyML Foundation. The exercise board is the Arduino Nano 33 BLE Sense, and the course assumes no prior machine learning background.

Generating illustration...

Six fields, six jobs. The sort key orders the module, the name becomes the display text, the extension decides the link, and the attribution field ties the file to a license footnote.

The course will give you a broad overview of how machine learning works in embedded systems, how to train neural networks, and how to deploy those networks to microcontrollers.

Zach Shelby, Co-founder and CEO of Edge Impulse · Announcing Intro to Embedded ML

The Three Licenses

If you want to remix this material, the first thing to check is also the least obvious. Three different licenses govern three different layers, and they are not stated in the same place.

LayerLicenseWhere it is stated
Repository as a wholeBSD-3-Clause-ClearGitHub repository metadata
autogen-tables.pyApache 2.0Header comment inside the script
Slides, questions, promptsCC BY-NC-SA 4.0README, unless otherwise noted
Linked YouTube videosYouTube standard licenseREADME

The non-commercial clause on the content is the one that trips people up. An instructor can adapt the slides for a class. A company cannot fold them into a paid product. That distinction is exactly the kind of thing a courseware repo has to get right, and it is buried one level below where most people stop reading.

Inside the Notebooks: Gradient Descent by Hand

The notebooks are where the pedagogy gets specific. 2.1.9.minimizing-loss.3.ipynb teaches the training loop without any high-level shortcut. No model.fit(). Instead, a manual gradient step makes the chain rule and the weight update visible line by line.

def train(model, inputs, outputs, learning_rate):
  with tf.GradientTape() as t:
    current_loss = loss(model(inputs), outputs)
    dw, db = t.gradient(current_loss, [model.w, model.b])
    model.w.assign_sub(learning_rate * dw)
    model.b.assign_sub(learning_rate * db)
    return current_loss

The model is a plain Python class wrapping two tf.Variable objects. The data is six points on the line y = 2x - 1, and the notebook starts from a deliberately wrong guess of w = 10, b = 10, then plots how the parameters walk toward the true values over 50 epochs. Students watch the loss fall instead of trusting a function call.

It is not flawless. The Colab badge at the top of that notebook links to its sibling 2.1.8.exploring-loss.3.ipynb, not to itself, an apparent copy-paste. The lesson still lands, but it is a reminder that this is teaching material maintained by hand, not a product with a release process.

The Comparison

The honest way to place this repository is by category, not by popularity. It is not competing with a runtime or a guided course. It is a different kind of object, and the table makes that clear.

FormatWho it's forWhat it teaches through
Edge Impulse courseware (this repo)Modular .pptx / .docx / .ipynb archiveInstructors remixing a courseFilename-indexed modules plus Edge Impulse platform workflow
Harvard TinyML educationCourse material and notebooksLearners and instructorsTensorFlow Lite, quantization, theory
TensorFlow Lite for MicrocontrollersC++ runtimeEmbedded developersInference on microcontrollers
Edge Impulse Coursera courseGuided video courseIndividual learnersStructured progression on the Arduino Nano 33 BLE Sense
Edge Impulse Edge AI on LinuxAdjacent courseLearners on Linux edge platformsNon-microcontroller edge deployment

Star counts are meaningless across these rows. A runtime, a guided course, and a module archive have nothing in common to count. The comparison that matters is what each one hands you: a binary, a sequence, or a pile of parts you can reassemble.