I
- type of the itemspublic class TopKItemNeighborhood<I> extends ItemNeighborhood<I>
TopKNeighborhood
.iIndex, neighborhood
Constructor and Description |
---|
TopKItemNeighborhood(ItemSimilarity<I> sim,
int k)
Constructor.
|
getNeighbors, getNeighbors, iidx2item, item2iidx, numItems
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
containsItem, getAllIidx, getAllItems, iidx2item, iidx2item, item2iidx, item2iidx
public TopKItemNeighborhood(ItemSimilarity<I> sim, int k)
sim
- item similarityk
- maximum size of neighborhoodCopyright © 2016. All rights reserved.