08.06.2015 Views

Building Machine Learning Systems with Python - Richert, Coelho

Building Machine Learning Systems with Python - Richert, Coelho

Building Machine Learning Systems with Python - Richert, Coelho

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 9<br />

Summary<br />

In this chapter, we stepped out of our comfort zone when we built a music genre<br />

classifier. Not having a deep understanding of music theory, at first we failed to<br />

train a classifier that predicts the music genre of songs <strong>with</strong> reasonable accuracy<br />

using FFT. But then we created a classifier that showed really usable performance<br />

using MFC features.<br />

In both cases, we used features that we understood only so much as to know how<br />

and where to put them into our classifier setup. The one failed, the other succeeded.<br />

The difference between them is that in the second case, we relied on features that<br />

were created by experts in the field.<br />

And that is totally OK. If we are mainly interested in the result, we sometimes<br />

simply have to take shortcuts—we only have to make sure to take these shortcuts<br />

from experts in the specific domains. And because we had learned how to correctly<br />

measure the performance in this new multiclass classification problem, we took<br />

these shortcuts <strong>with</strong> confidence.<br />

In the next chapter, we will look at how to apply techniques you have learned in<br />

the rest of the book to this specific type of data. We will learn how to use the<br />

mahotas computer vision package to preprocess images using traditional image<br />

processing functions.<br />

[ 197 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!