/** @see LenskitConfigContext#bind(Class, Class) */ @Override public <T> LenskitBinding<T> bind(Class<? extends Annotation> qual, Class<T> type) { return context.bind(qual, type); }
/** @see LenskitConfigContext#set(Class) */ @Override @SuppressWarnings("rawtypes") public Binding set(@Nonnull Class<? extends Annotation> param) { return context.set(param); }
@Override public void addComponent(@Nonnull Object obj) { context.addComponent(obj); }
/** @see LenskitConfigContext#within(Class) */ @Override public LenskitConfigContext within(Class<?> type) { return context.within(type); }
/** @see LenskitConfigContext#at(Class) */ @Override public LenskitConfigContext at(Class<?> type) { return context.at(type); }
/** @see LenskitConfigContext#bindAny(Class) */ @Override public <T> LenskitBinding<T> bindAny(Class<T> type) { return context.bindAny(type); }
@Override public LenskitConfigContext matching(ContextPattern pattern) { return context.matching(pattern); }
/** @see LenskitConfigContext#within(Class, Class) */ @Override public LenskitConfigContext within(@Nullable Class<? extends Annotation> qualifier, Class<?> type) { return context.within(qualifier, type); }
/** @see LenskitConfigContext#at(Class, Class) */ @Override public LenskitConfigContext at(@Nullable Class<? extends Annotation> qualifier, Class<?> type) { return context.at(qualifier, type); }
/** @see LenskitConfigContext#bindAny(Class) */ @Override public <T> LenskitBinding<T> bindAny(Class<T> type) { return context.bindAny(type); }
@Override public LenskitConfigContext matching(ContextPattern pattern) { return context.matching(pattern); }
/** @see LenskitConfigContext#bind(Class) */ @Override public <T> LenskitBinding<T> bind(Class<T> type) { return context.bind(type); }
/** @see LenskitConfigContext#set(Class) */ @Override @SuppressWarnings("rawtypes") public Binding set(@Nonnull Class<? extends Annotation> param) { return context.set(param); }
/** @see LenskitConfigContext#within(Annotation, Class) */ @Override public LenskitConfigContext within(@Nullable Annotation qualifier, Class<?> type) { return context.within(qualifier, type); }
/** @see LenskitConfigContext#at(Annotation, Class) */ @Override public LenskitConfigContext at(@Nullable Annotation qualifier, Class<?> type) { return context.at(qualifier, type); }
@Override public void addComponent(@Nonnull Object obj) { context.addComponent(obj); }
@Override public <T> LenskitBinding<T> bind(Class<T> type) { return wrapContext(bindings.getRootContext()).bind(type); }
@SuppressWarnings("unchecked") @Override protected void configureAlgorithm(LenskitConfiguration config) { config.bind(ItemScorer.class) .to(FunkSVDItemScorer.class); config.bind(BaselineScorer.class, ItemScorer.class) .to(UserMeanItemScorer.class); config.bind(UserMeanBaseline.class, ItemScorer.class) .to(ItemMeanRatingItemScorer.class); config.within(BaselineScorer.class, ItemScorer.class) .set(MeanDamping.class) .to(10); config.set(FeatureCount.class).to(25); config.set(IterationCount.class).to(125); config.bind(RatingPredictor.class) .to(OrdRecRatingPredictor.class); config.bind(Quantizer.class) .to(PreferenceDomainQuantizer.class); }
/** @see LenskitConfigContext#within(Class) */ @Override public LenskitConfigContext within(Class<?> type) { return context.within(type); }
/** @see LenskitConfigContext#at(Class) */ @Override public LenskitConfigContext at(Class<?> type) { return context.at(type); }