Please enable JavaScript to use CodeHS

  • AI

Machine Learning and Music Classification

In this project, students build a machine learning model that analyzes and classifies music using Teachable Machine.

Medium

2 Hours

High School

Middle School

Project Description

Machine learning is a way for computers to learn from data and make decisions or predictions without being explicitly programmed. In this project, students will build a machine learning model that can classify a song by musical genre.

Students will complete the following tasks:

  • Choose 3 genres and gather sample audio data for each genre
  • Train the model
  • Test the model to determine its accuracy
  • Add more training data and re-train the model
  • Test the model again
  • Reflect on how a model’s training data impacts its accuracy

Project Demo

Explore this program before assigning it!