public class StandardVectorTruncatorProvider extends java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
VectorTruncator |
get() |
java.lang.String |
toString() |
@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>
public java.lang.String toString()
toString
in class java.lang.Object