In datahub/movielens1M/preprocess_slate_aware.ipynb, the slate_rating column of the res_df dataset displays values that are not 0 or 1. To fix this, you need to modify the ninth line from the bottom of the third code block from
slate_rating_c.append(rating_list[l: i] + item_id_list[i + 1: r + 1])
to
slate_rating_c.append(rating_list[l: i] + rating_list[i + 1: r + 1])
In
datahub/movielens1M/preprocess_slate_aware.ipynb, theslate_ratingcolumn of theres_dfdataset displays values that are not 0 or 1. To fix this, you need to modify the ninth line from the bottom of the third code block fromto