public interface PreferenceInferrer extends Refreshable
Implementations of this interface compute an inferred preference for a user and an item that the user has not expressed any preference for. This might be an average of other preferences scores from that user, for example. This technique is sometimes called "default voting".
float inferPreference(long userID, long itemID) throws TasteException
Infers the given user's preference value for an item.
userID- ID of user to infer preference for
itemID- item ID to infer preference for
TasteException- if an error occurs while inferring
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.