Code for music autotagging from my PhD thesis