nimble.calculate.fractionCorrect

nimble.calculate.fractionCorrect(knownValues, predictedValues)

Calculate how many values in predictedValues are equal to the values in the corresponding positions in knownValues. The return will be a float between 0 and 1 inclusive.