congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
SGD.getDontNormalize
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using weka.classifiers.functions.SGD.getDontNormalize (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.functionsSGDgetDontNormalize

Javadoc

Get whether normalization has been turned off.

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.
  • getDontReplaceMissing
    Get whether global replacement of missing values has been disabled.
  • getEpochs
    Get current number of epochs
  • getDontReplaceMissing,
  • getEpochs,
  • getEpsilon,
  • getLambda,
  • getLearningRate,
  • getLossFunction,
  • getSeed,
  • getWeights,
  • reset

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • compareTo (BigDecimal)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • JTextField (javax.swing)
  • PhpStorm for WordPress
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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