def test_accuracy_1_with_threshold(self):
        threshold = 1
        for n in range(2, 100):
            y_true = np.ones((n,n))
            y_prob = np.ones((n,n))/n
            assert_equals(accuracy.hamming_accuracy_from_blob(y_true, y_prob, threshold), 0)
Bulkloader method to generate keys, mostly unused here.
dataset/ETHPy150Open kashefy/nideep/nideep/eval/test_accuracy.py/TestHammingAccuracyFromBlob.test_accuracy_1_with_threshold--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/bulkload/bulkloader_config.py/GenericImporter.generate_key