-
|
Hi, I am trying to follow the example of "Matrix factorization for recommender systems", but I get this error in the Part 1 for the Baseline model:
Here the code: Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hey @TxusLopez, according to the docs Try loading your dataset this way in your code before calling X_y = datasets.MovieLens100K(unpack_user_and_item=True) |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @gbolmier for your response. I get the same error with that. But I was trying to do the same without using the , being , where |
Beta Was this translation helpful? Give feedback.

Thanks @gbolmier for your response. I get the same error with that. But I was trying to do the same without using the
evaluate.iter_progressive_val_scoreby doing the process manually with a simple iteration and detailing the paramsx,y,user,item:, being
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.25, random_state=42)and, where
df_movielensis just a DataF…