def make_oh_cols_names(cat_cols_names, categories):
    """
    Build names for OneHot encoded categories.
    """
    assert(len(cat_cols_names) == len(categories))
    oh_names = []
    for col_name, col_cats in zip(cat_cols_names, categories):
        for cat in col_cats:
            oh_names.append(col_name + "_" + str(int(cat)))

    return oh_names