public class StandardVectorTruncatorProvider extends Object implements javax.inject.Provider<VectorTruncator>
Configure a vector truncator using the standard item-item model build logic.
| Constructor and Description |
|---|
StandardVectorTruncatorProvider(Threshold thresh,
int msize)
Construct a new vector truncator provider.
|
@Inject public StandardVectorTruncatorProvider(@ItemSimilarityThreshold Threshold thresh, @ModelSize int msize)
Construct a new vector truncator provider.
thresh - A threshold for filtering item similarities.msize - The maximum number of neighbors to retain for each item.public VectorTruncator get()
get in interface javax.inject.Provider<VectorTruncator>