def compute_accuracy(predicted, target):
    """ return fraction of predicted values matching the known targets
    :param predicted: array containing the predicted index of the classes (Multiclass not implemented)
    :type predicted: numpy.ndarray
    :param target: array containing the known index of the classes (Multiclass not implemented)
    :type target: numpy.ndarray
    """
    assert (len(predicted) == len(target)), "Predictions and Targets missmatch in the dimension."
    assert (predicted.ndim == 1), "Multiclass prediction not yet implemented, predicted values should be single values of class index"
    assert (target.ndim == 1), "Multiclass prediction not yet implemented, target values should be single values of class index"
    return (predicted == target).sum()/len(predicted)