def check_one_hot_label_encoder(y, test):
    assert (np.sum(y) == y.shape[0]), (test + ": one-hot-label encoding didn't binarize")
    assert (y.shape[1] > 2), (test + ": one-hot-label encoding didn't create vector.")
def check_one_hot_label_encoder(y, test):
    assert (np.sum(y) == y.shape[0]), (test + ": one-hot-label encoding didn't binarize")
    assert (y.shape[1] > 2), (test + ": one-hot-label encoding didn't create vector.")