I am getting this error at this line
my_predictions = prediction_matrix[:,current_user_id-1]+Ymean.flatten()
This is the code. Please tell me