Hguimaraes random tech notes

Music genre classification: A Deep Learning approach

tl;dr: A Deep Learning approach for music genre classification using a simple Convolutional Neural Network (CNN). Based on my undergraduate thesis. You can find the Jupyter Notebook with all the codes in the nbs folder here: https://github.com/Hguimaraes/gtzan.keras This is the second post on music genre classification using Machine Learning. L... Read more

Music genre classification: A classical ML approach

“The only truth is music - the only meaning is without meaning - Music blends with the heartbeat universe and we forget the brain beat.” — Jack Kerouac, Desolation Angels. tl;dr: [Updated version] Hands-on post about how to create a music genre classifier from raw audio using the GTZAN dataset and extracting handcrafted features. This work ... Read more

Setup a Kaggle env using Docker

tl;dr: Despite being well documented on Kaggle’s blog, this is a small guide to install docker and the kaggle\python image on a computer with Ubuntu 16.04 Install Docker and Docker-Machine To install docker on your Ubuntu 16.04 system: $ sudo apt-get install apt-transport-https ca-certificates curl software-properties-common $ curl -fsSL http... Read more

Music Information Retrieval in Deep Learning Era

The music industry in the early 21st century witnessed a drastic change in the way it consumed and distributed its main product, music. The physical media sales model such as CD, Vinyl, and Cassette was rapidly replaced by digital media with the increasing popularity of personal computers. Companies such as Napster that used peer-to-peer (P2P) a... Read more

Lua notes for Torch7

I heard about Lua two years ago when I was interested about make computer games. I didn’t know exactly what was the philosophy(?) behind the language, but the syntax looked clean and simple, which was eye-catching for someone who came from languages such as C/C++ and avoind C# at all costs. I won’t bother you to talk about why my enthusiasm wit... Read more