def calculate_equal_interval_breaks(data, num_classes=5):
    """Calculates classes in even intervals across a vector of data

    Each class will span the same number of units

    Args:
        data (:obj:`list` of :obj:`float`): Array of data
        num_classes (`int`): Number of desired classes in the data

    Returns:
        (:obj:`list` of :obj:`float`): Sorted quantile value lists
    """
    max_val, min_val = max(data), min(data)
    increment = (max_val - min_val) / num_classes
    return [min_val + increment * i for i in range(0, num_classes)]