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)
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)