@DefaultImplementation(value=SimilarityMatrixModel.class) public interface ItemItemModel
Item-item similarity model. It makes available the similarities between items in the form of allowing queries to neighborhoods.
These similarities are post-normalization, so code using them should typically use the same normalizations used by the builder to make use of the similarity scores.
Get the set of all items in the model.
@Nonnull Long2DoubleMap getNeighbors(long item)
Get the neighbors of an item scored by similarity. This is the corresponding row of the item-item similarity matrix (see
item- The item to get the neighborhood for.