Arduino Classifier Demo
Channel: Creative Kinetic Systems
Date: 2020-10-29

Walkthrough of an Arduino binary decision tree classifier in the course ClassifierDemo Arduino sketch, generated using scikit-learn from labeled sonar data.

00:14 ClassifierDemo Arduino Sketch
00:27 classification and labeling
00:58 machine learning as data-based modeling
01:22 signal workflow overview
02:11 training set, labeled set of position and velocity pairs
03:00 classifier tree plotted as points and regions
03:51 classify() function generated by classify_gen.py
04:33 hand-drawn planar segmentation representing a binary tree
06:05 returning to plot of points and regions
07:34 scikit-learn, SciPy, NumPy, and matplotlib
08:15 sample code overview
08:48 walk through sensor filtering pipeline
10:20 sensor scaling and integer underflow concerns
10:37 lowpass() smoothing filter
11:06 quadratic fitting filter
11:46 data collection, labeling, and merging into training set
13:00 debouncing the classifier output
13:37 plot of live data with classifier output
15:00 higher-dimensional data from multiple sensors or filters