com.planetj.taste.correlation
Interface PreferenceInferrer

All Superinterfaces:
Refreshable
All Known Implementing Classes:
AveragingPreferenceInferrer

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".

Author:
Sean Owen

Method Summary
 double inferPreference(User user, Item item)
          Infers the given User's preference value for an Item.
 
Methods inherited from interface com.planetj.taste.common.Refreshable
refresh
 

Method Detail

inferPreference

double inferPreference(User user,
                       Item item)
                       throws TasteException

Infers the given User's preference value for an Item.

Parameters:
user - User to infer preference for
item - Item to infer preference for
Returns:
inferred preference
Throws:
TasteException - if an error occurs while inferring