public interface UserNeighborhood extends Refreshable
Implementations of this interface compute a "neighborhood" of users like a given user. This neighborhood can be used to compute recommendations then.
Modifier and Type | Method and Description |
---|---|
long[] |
getUserNeighborhood(long userID) |
refresh
long[] getUserNeighborhood(long userID) throws TasteException
userID
- ID of user for which a neighborhood will be computedTasteException
- if an error occurs while accessing dataCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.