def compute_accuracy(predictions, labels):
    return labels[predictions.ravel() < 0.5].mean()


# the data, shuffled and split between train and test sets
Set enabling request validation
dataset/ETHPy150Open fchollet/keras/examples/mnist_siamese_graph.py/compute_accuracy--crossover with--dataset/ETHPy150Open ga4gh/server/ga4gh/backend.py/Backend.setRequestValidation