-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ASK] How to get top recommendations for a given user id - LSTURModel #1999
Comments
Are these id's same as News id's present in MIND dataset with the "N" removed ? I also feel the way i am getting userid is not the ideal way , i am just inputting a Vector index . So i would like to know how to give user id like 'U28498' as input to perform the prediction . |
In the |
Hi @cclinet : Thanks a lot for the reply , but i had tried accessing nid2index at the time of filling this issue itself , it was not accessible as i guess it's a private property which is not exposed :
This is the error i got : AttributeError: type object 'MINDIterator' has no attribute 'nid2index' If possible can you let me know if there is a way to access this property . |
Try to get the iterator using |
Description
Hi , I am trying to get top 10 news recommendations for given user id . Below is the code which i am using for it :
So the output i get is an array of id's like this : [12580, 10755, 13550, 2500, 5302, 4810, 18519, 18187, 3741, 13954]
I am looking to convert these id's to Actual New item id's like : N15366 , N18191 etc -- using which i could get the News titles .
Any help would be greatly appreciated .
The text was updated successfully, but these errors were encountered: