Tabnine Logo
MinimumIterations
Code IndexAdd Tabnine to your IDE (free)

How to use
MinimumIterations
in
org.grouplens.lenskit.iterative

Best Java code snippets using org.grouplens.lenskit.iterative.MinimumIterations (Showing top 3 results out of 315)

origin: lenskit/lenskit

/**
 * Construct a new FunkSVD configuration.
 *
 * @param lrate The learning rate.
 * @param reg   The regularization term.
 * @param bias The bias model
 * @param dom The domain
 * @param iters The maximum interation count
 * @param threshold The stopping threshold
 */
@Inject
public FunkSVDUpdateRule(@LearningRate double lrate,
             @RegularizationTerm double reg,
             BiasModel bias,
             @Nullable PreferenceDomain dom,
             @IterationCount int iters,
             @StoppingThreshold double threshold,
             @MinimumIterations int minIters) {
  learningRate = lrate;
  trainingRegularization = reg;
  biasModel = bias;
  domain = dom;
  iterationCount = iters;
  stoppingThreshold = threshold;
  minimumIterations = minIters;
}
origin: org.lenskit/lenskit-core

/**
 * Construct a new threshold stop.
 *
 * @param thresh  The threshold.
 * @param minIter The minimum number of iterations.
 */
@Inject
public ThresholdStoppingCondition(@StoppingThreshold double thresh,
                 @MinimumIterations int minIter) {
  threshold = thresh;
  minIterations = minIter;
}
origin: org.lenskit/lenskit-core

/**
 * Construct a new error threshold stop.
 *
 * @param thresh      The threshold.
 * @param minIter     The minimum number of iterations.
 */
@Inject
public ErrorThresholdStoppingCondition(@StoppingThreshold double thresh,
                    @MinimumIterations int minIter) {
  Preconditions.checkArgument(thresh > 0, "threshold must be positive");
  threshold = thresh;
  minIterations = minIter;
}
org.grouplens.lenskit.iterativeMinimumIterations

Most used methods

  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getResourceAsStream (ClassLoader)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • ImageIO (javax.imageio)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Option (scala)
  • CodeWhisperer alternatives
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