@NotThreadSafe public class ItemItemModelProvider extends Object implements javax.inject.Provider<ItemItemModel>
Build an item-item CF model from rating data. This builder takes a very simple approach. It does not allow for vector normalization and truncates on the fly.
Constructor and Description |
---|
ItemItemModelProvider(ItemSimilarity similarity,
ItemItemBuildContext context,
Threshold thresh,
NeighborIterationStrategy nbrStrat,
int minCU,
int size) |
@Inject public ItemItemModelProvider(ItemSimilarity similarity, ItemItemBuildContext context, @ItemSimilarityThreshold Threshold thresh, NeighborIterationStrategy nbrStrat, @MinCommonUsers int minCU, @ModelSize int size)
public SimilarityMatrixModel get()
get
in interface javax.inject.Provider<ItemItemModel>