How to score a submission (locally)

#1 Configure the path where your data is stored

#2 Load the data

#3 Get the targets

The scoring function will expect a list of item-ids

#4 Generate your submission

In this case, I will generate random recommendations. The scoring function will expect a list of lists.

#5 Score your submission

Pass the targets and the recommendations together with the item data to the ndcg_score function