Machine Learning / Data Science:
The Google Teachable Machine | ASW Hack Club


Introduction:

There is a really cool website that allows you to make a really really simple machine learning program. It's called Teachable Machine. It's really easy to use, and it's a great way to get started with machine learning.

We are going to be going over the basics of how to use Teachable Machine, and how to make a really simple object recognition program.


How to use Teachable Machine:

Step 1: Go to the Teachable Machine website

Go to Teachable Machine and click on the "Get Started" button.

Select "Pose Project"

Step 2: Choose what you want to do

The pose model is able to automatically detect the pose you are in from "landmarks" (points on your body) and learn to classify where those points are as different poses that you are in. In the example I am doing I am making one for looking left and for looking right. You are able to do way more by using it creatively.

Step 3: Upload/Record your pose

You are going to see two classes in the window. Name the first one the name of the first pose that you want to identify, and then name the second one the name of the second pose you intend to identify.

You are going to make yourself visible in your webcam then you are going to hold the "Hold to Record" button. Do this for atleast a few hundred sample frames. You can do more if you want.

Left Pose Recognition Right Pose Recognition

The image above is censored for privacy reasons, as this is a public website.

Step 4: Train your model

Click the "Train" button, and then wait for it to finish. This is going to take a while, so be patient. The page may stop responding, this can be disregarded.

On the school provided M1 MacBook, it took me about 15 minutes to train the model. Do something else while it is training. It helps if you are plugged into a power source, and turning low poer mode off and making sure that you do not have too much running in the background.

Step 5: Test your model

Once it is trainined, you will be able to use the 'Preview" section to be able to see your model working. You should be able to see a bargraph about the prediction of what is currently happning.

Here is an example if it knowing when I was looking left and right.:

Left Pose Recognition Right Pose Recognition

Congrats! You've made your first (probably) machine learning program! This is the first of many, this is only a pose recognitation app. There are many other interesting things that you are able to do with machine learning. It gets better the more you are able to get to work together.I hope this peaks your interests.


If there are any edits that you would like to request to be added to this, please submit them in an issue in the GitHub or you can send an email to sysadmin@silverflag.net