Posted in Python

Artificial Intelligence Project in Python: Identifying the Genre of a Song with Neural Networks


Learn how to identify the genre of a song with neural networks in this tutorial by Joshua Eckroth, an assistant professor, who teaches big data mining and analytics, artificial intelligence (AI), and software engineering. He also has a PhD in AI and cognitive science.

This article will show you how to build a neural network that can identify the genre of a song. Use the GTZAN Genre Collection (http://marsyasweb.appspot.com/download/data_sets/.GTZAN Genre Collection). It has 1,000 different songs from over 10 different genres, with 100 songs per genre and each song is about 30 seconds long.

Use the Python library, librosa to extract features from the songs and use Mel-frequency cepstral coefficients (MFCC). MFCC values mimic human hearing, and they are commonly used in speech recognition applications as well as music genre detection. These MFCC values will be fed directly into the neural network.

Continue reading “Artificial Intelligence Project in Python: Identifying the Genre of a Song with Neural Networks”

Advertisements
Posted in Python

Installing Python on Windows 7 or Windows 8


Installing Python on Windows 7 or Windows 8 – The current stable versions of Python are Python 3.4.1 and Python 2.7.8.

Download Python from https://www.python.org/download

Install as an administrator

Python 2.7.8 GUI in Windows 7

Python GUI
Python GUI

Python 2.7.8 Command Line in Windows 7

Python Command Line