luispedro/milk — pull request #4 by ivesn (2011-11-24 12:04:53+00:00)
Title: Return accuracy as fraction matched

Schematically,
sum(actual == predicted)/size(actual)
gives the fracton accurately predicted, which is what this
function should return, as inferred from the docs. Before
this patch, it was computing the fraction missed, ie
sum(actual != predicted)/size(actual)