add HammingGain (opposite of HammingLoss) to PrecisionRecall