I have a simple doubt:
We have lots of interfaces to fetch one user such as:
preferences_from_user (user_id)
item_ids_from_user (item_id)
But it would be faster in case of using numpy and scipy arrays to fetch multiple users data. So instead of one user_id as parameter I could pass more than one:
preferences_from_user(np.array([user_id,user_id2,...])
item_ids_from_user(np.array([user_id,user_id2,...])
But there is a problem there's lot ofs code already implemented using the first case. So what's the best strategy for this now ?
I was thinking about putting new interfaces, only putting the name in the plurals and the developer can implement their own. And what's the place ? In the BaseRecommender or only in the MatrixDataModel ?
What do you think ?
Regards,
--
Marcel Pinheiro Caraciolo
M.S.C. Candidate at CIN/UFPE