public class StandardVectorTruncatorProvider extends Object implements javax.inject.Provider<VectorTruncator>
Constructor and Description |
---|
StandardVectorTruncatorProvider(Threshold thresh,
int msize)
Construct a new vector truncator provider.
|
@Inject public StandardVectorTruncatorProvider(@ItemSimilarityThreshold Threshold thresh, @ModelSize int msize)
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>