def check_label_encoder(y, test):
    assert (all(y) in range(len(np.unique(y)))), (test + ": label encoding didn't work")
def check_label_encoder(y, test):
    assert (all(y) in range(len(np.unique(y)))), (test + ": label encoding didn't work")