I'm using a GenericBooleanPrefUserBasedRecommender with a
GenericBooleanPrefDataModel.

When I load the historical user/item associations from a file, they're just
in the format of userid, itemid, and as I understand it, the
GenericBooleanPrefDataModel does not store any 'rating' data.

I'd like to add new preferences (and users) to the recommender on the fly,
but the only method to add new preferences on
GenericBooleanPrefUserBasedRecommender is* setPreference*(long userID,
long itemID, float value). Is 1.0 the correct value to be using? Will the
GenericBooleanPrefDataModel just ignore that 1.0 value that I pass to it,
since it wasn't storing any other preferences?

Also, is the right way to add a user on the fly just to  set all their
preferences one at a time with setPreference(...) and then ask for
recommendations for them?

Thanks!
Matt

Reply via email to