U
- type of the userspublic class InvertedUserNeighborhood<U> extends UserNeighborhood<U>
InvertedNeighborhood
S. Vargas and P. Castells. Improving sales diversity by recommending
users to items.neighborhood, uIndex
Constructor and Description |
---|
InvertedUserNeighborhood(UserNeighborhood<U> neighborhood,
IntPredicate filter)
Constructor - fast version.
|
InvertedUserNeighborhood(UserNeighborhood<U> neighborhood,
Predicate<U> filter)
Constructor.
|
getNeighbors, getNeighbors, numUsers, uidx2user, user2uidx
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containsUser, getAllUidx, getAllUsers, uidx2user, uidx2user, user2uidx, user2uidx
public InvertedUserNeighborhood(UserNeighborhood<U> neighborhood, Predicate<U> filter)
neighborhood
- original neighborhood to be invertedfilter
- determines which users require inverted neighborhoodspublic InvertedUserNeighborhood(UserNeighborhood<U> neighborhood, IntPredicate filter)
neighborhood
- original neighborhood to be invertedfilter
- determines which users require inverted neighborhoodsCopyright © 2016. All rights reserved.