congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
SGD.getEpochs
Code IndexAdd Tabnine to your IDE (free)

How to use
getEpochs
method
in
weka.classifiers.functions.SGD

Best Java code snippets using weka.classifiers.functions.SGD.getEpochs (Showing top 2 results out of 315)

origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Gets the current settings of the classifier.
 * 
 * @return an array of strings suitable for passing to setOptions
 */
@Override
public String[] getOptions() {
 ArrayList<String> options = new ArrayList<String>();
 options.add("-F");
 options.add("" + getLossFunction().getSelectedTag().getID());
 options.add("-L");
 options.add("" + getLearningRate());
 options.add("-R");
 options.add("" + getLambda());
 options.add("-E");
 options.add("" + getEpochs());
 options.add("-C");
 options.add("" + getEpsilon());
 if (getDontNormalize()) {
  options.add("-N");
 }
 if (getDontReplaceMissing()) {
  options.add("-M");
 }
 Collections.addAll(options, super.getOptions());
 
 return options.toArray(new String[1]);
}
origin: Waikato/weka-trunk

/**
 * Gets the current settings of the classifier.
 * 
 * @return an array of strings suitable for passing to setOptions
 */
@Override
public String[] getOptions() {
 ArrayList<String> options = new ArrayList<String>();
 options.add("-F");
 options.add("" + getLossFunction().getSelectedTag().getID());
 options.add("-L");
 options.add("" + getLearningRate());
 options.add("-R");
 options.add("" + getLambda());
 options.add("-E");
 options.add("" + getEpochs());
 options.add("-C");
 options.add("" + getEpsilon());
 if (getDontNormalize()) {
  options.add("-N");
 }
 if (getDontReplaceMissing()) {
  options.add("-M");
 }
 Collections.addAll(options, super.getOptions());
 
 return options.toArray(new String[1]);
}
weka.classifiers.functionsSGDgetEpochs

Javadoc

Get current number of epochs

Popular methods of SGD

  • <init>
  • setDontNormalize
    Turn normalization off/on.
  • setDontReplaceMissing
    Turn global replacement of missing values off/on. If turned off, then missing values are effectively
  • setEpochs
    Set the number of epochs to use
  • setLearningRate
    Set the learning rate.
  • buildClassifier
    Method for building the classifier.
  • distributionForInstance
    Computes the distribution for a given instance
  • dloss
  • dotProd
  • getCapabilities
    Returns default capabilities of the classifier.
  • getDontNormalize
    Get whether normalization has been turned off.
  • getDontReplaceMissing
    Get whether global replacement of missing values has been disabled.
  • getDontNormalize,
  • getDontReplaceMissing,
  • getEpsilon,
  • getLambda,
  • getLearningRate,
  • getLossFunction,
  • getSeed,
  • getWeights,
  • reset

Popular in Java

  • Updating database using SQL prepared statement
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • 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