You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've fitted the model with user and items matrixes: model.fit( int_m, user_features = user_matrix, item_features = item_matrix)
Let's say I want to have predictions for one user and few items, can I do like this: model.predict(1,[2,5,7,8,9])
or I need to again pass matrixes like this: model.predict(1,[2,5,7,8],user_features = user_matrix, item_features = item_matrix))
Im asking because results are different:
[ -2.8424215 -12.3355665 -9.75003 -8.55455 -3.7264912]
vs
[-119.41913 -117.80002 -116.015114 -117.74599 -119.52765 ]
The text was updated successfully, but these errors were encountered:
unrepeat
changed the title
do I need to pass metadata matrix for
do I need to pass metadata matrixes to predict method for known users and items in fit step
Apr 6, 2023
unrepeat
changed the title
do I need to pass metadata matrixes to predict method for known users and items in fit step
do I need to pass user and item matrixes to predict method for known users and items in fit step
Apr 6, 2023
I've fitted the model with user and items matrixes:
model.fit( int_m, user_features = user_matrix, item_features = item_matrix)
Let's say I want to have predictions for one user and few items, can I do like this:
model.predict(1,[2,5,7,8,9])
or I need to again pass matrixes like this:
model.predict(1,[2,5,7,8],user_features = user_matrix, item_features = item_matrix))
Im asking because results are different:
[ -2.8424215 -12.3355665 -9.75003 -8.55455 -3.7264912]
vs
[-119.41913 -117.80002 -116.015114 -117.74599 -119.52765 ]
The text was updated successfully, but these errors were encountered: