def ypd(y_pred):
    ydp = []
    for i in range(len(y_pred)):
        ydp += [y_pred[i][1]]
    return ydp
def ypd(y_pred):
    ydp = []
    for i in range(len(y_pred)):
        ydp += [y_pred[i][1]]
    return ydp