public class SlopeOneModelBuilder extends Object implements javax.inject.Provider<SlopeOneModel>
DeviationMatrix
and
CoratingMatrix
. These matrices are later used by a
SlopeOneItemScorer
.Constructor and Description |
---|
SlopeOneModelBuilder(ItemDAO dao,
ItemItemBuildContext context,
double damping) |
Modifier and Type | Method and Description |
---|---|
SlopeOneModel |
get()
Constructs and returns a
SlopeOneModel . |
@Inject public SlopeOneModelBuilder(@Nonnull ItemDAO dao, ItemItemBuildContext context, @DeviationDamping double damping)
public SlopeOneModel get()
SlopeOneModel
.get
in interface javax.inject.Provider<SlopeOneModel>