def get_labels_ablog(l, a, b):
    """Get all combinations ij, where i,j are feature labels.

    Parameters
    ----------
    a : float
    b : float

    Returns
    -------
    new_features : list
        List of new feature names.
    """
    L = len(l)
    new_features = []
    for f1 in range(L):
        for f2 in range(f1, L):
            new_features.append('log' + str(a) + '_' + l[f1] + 'log' + str(
                b) + '_' + l[f2])
    return new_features
