3 ms·
The wikipedia pages[1] on that subject are pretty good. I have them open frequently because of my current project, here is a typical sample of the output for a
by jacquesm 7y ago
The wikipedia pages[1] on that subject are pretty good. I have them open frequently because of my current project, here is a typical sample of the output for a single test:
satie f_measure: 82.93 precision 97.62 recall 72.09 accuracy 70.84
The context here is a program that tries to recognize what is being played in an audio file. The precision refers to the chance that any given note in the output was actually in the input, the recall the percentage of notes from the input that was recognized. Depending on your application you might give more or less weight to those two. In this particular application precision is more important than recall because a wrong note sounds terrible but a missed note makes no sound at all...
You can usually adapt a classification problem to give you these figures, it sometimes requires a bit of creativity to determine what exactly constitutes a false positive or a false negative. In this case a false negative is a missed note, a false positive is a note that wasn't there that got recognized anyway.
To be able to easily determine whether or not a given change is an improvement you steer by either f_measure or accuracy.
[1] https://en.wikipedia.org/wiki/Precision_and_recall https://en.wikipedia.org/wiki/Precision_and_recall
- salawat 7y agoSo, are you trying to go from audio file to sheet music or something? That'll be a bit of a pain I'd imagine if you aren't separating out subtracks by instrument. Besides which, wouldn't a time sliced Fourier transform give you the characteristic frequencies of the piece?
- jacquesm 7y ago> So, are you trying to go from audio file to sheet music or something? From audio file to midi file. > That'll be a bit of a pain I'd imagine if you aren't separating out subtracks by instrument. You're on to something there :) For now I've decided to stay single instrument until I can do that with high enough fidelity to be happy about it. The other day someone posted a link here about a neural net that separates out the various instrument tracks, that would be a very nice complement. > Besides which, wouldn't a time sliced Fourier transform give you the characteristic frequencies of the piece? If only it were that simple. Fourier transforms are very useful tools but their output is very far removed from something that can be played again.