def _filter_data_by_labels(X, y, label_filters):
    """
    Filter out features and labels based on label
    :param X: Features
    :param y: Labels
    :param label_filters: Labels to use
    :return: Features and labels that have been a label in label_filters
    """
    assert len(y) == len(X)
    x_ys = zip(X, y)

    return zip(*[x_y for x_y in x_ys if x_y[1] in label_filters])