Tabnine Logo
LenskitConfigContext.set
Code IndexAdd Tabnine to your IDE (free)

How to use
set
method
in
org.lenskit.LenskitConfigContext

Best Java code snippets using org.lenskit.LenskitConfigContext.set (Showing top 3 results out of 315)

origin: lenskit/lenskit

/** @see LenskitConfigContext#set(Class) */
@Override
@SuppressWarnings("rawtypes")
public Binding set(@Nonnull Class<? extends Annotation> param) {
  return context.set(param);
}
origin: org.grouplens.lenskit/lenskit-groovy

/** @see LenskitConfigContext#set(Class) */
@Override
@SuppressWarnings("rawtypes")
public Binding set(@Nonnull Class<? extends Annotation> param) {
  return context.set(param);
}
origin: lenskit/lenskit

@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);
}
org.lenskitLenskitConfigContextset

Javadoc

Start a binding that sets a parameter. Parameters are qualifiers that bear the Parameter annotation.

Popular methods of LenskitConfigContext

  • bind
  • addComponent
    Add a component object to the injector. This is the equivalent of: this.bind(obj.getClass()).to(obj
  • at
  • bindAny
  • matching
  • within

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • Kernel (java.awt.image)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now