def best_evaluation(history):
    """Return the best-ever loss and accuracy.

    Not necessarily from the same epoch."""

    best_loss = min(history.history['val_loss'])
    best_accuracy = max(history.history['val_acc'])
    return best_loss, best_accuracy