|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ItemCorrelation
Implementations of this interface define a notion of itemCorrelation between two
Items. Implementations should return values in the range -1.0 to 1.0, with
1.0 representing perfect correlation.
UserCorrelation| Method Summary | |
|---|---|
double |
itemCorrelation(Item item1,
Item item2)
Returns the "itemCorrelation", or degree of similarity, of two Items, based
on the preferences that Users have expressed for the items. |
| Methods inherited from interface com.planetj.taste.common.Refreshable |
|---|
refresh |
| Method Detail |
|---|
double itemCorrelation(Item item1,
Item item2)
throws TasteException
Returns the "itemCorrelation", or degree of similarity, of two Items, based
on the preferences that Users have expressed for the items.
item1 - first itemitem2 - second item
Items
TasteException - if an error occurs while accessing the data
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||