Tabnine Logo
SGD.updateClassifier
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: Waikato/weka-trunk

/**
 * Updates the classifier with the given instance.
 * 
 * @param instance the new training instance to include in the model
 * @exception Exception if the instance could not be incorporated in the
 *              model.
 */
@Override
public void updateClassifier(Instance instance) throws Exception {
 updateClassifier(instance, true);
}
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Updates the classifier with the given instance.
 * 
 * @param instance the new training instance to include in the model
 * @exception Exception if the instance could not be incorporated in the
 *              model.
 */
@Override
public void updateClassifier(Instance instance) throws Exception {
 updateClassifier(instance, true);
}
origin: nz.ac.waikato.cms.weka/weka-stable

private void train(Instances data) throws Exception {
 for (int e = 0; e < m_epochs; e++) {
  for (int i = 0; i < data.numInstances(); i++) {
   updateClassifier(data.instance(i), false);
  }
 }
}
origin: Waikato/weka-trunk

private void train(Instances data) throws Exception {
 for (int e = 0; e < m_epochs; e++) {
  for (int i = 0; i < data.numInstances(); i++) {
   updateClassifier(data.instance(i), false);
  }
 }
}
origin: nz.ac.waikato.cms.weka/weka-stable

DenseInstance metaI = new DenseInstance(instance.weight(), vals);
metaI.setDataset(m_fitLogisticStructure);
m_svmProbs.updateClassifier(metaI);
origin: Waikato/weka-trunk

DenseInstance metaI = new DenseInstance(instance.weight(), vals);
metaI.setDataset(m_fitLogisticStructure);
m_svmProbs.updateClassifier(metaI);
weka.classifiers.functionsSGDupdateClassifier

Javadoc

Updates the classifier with the given instance.

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,
  • getEpochs,
  • getEpsilon,
  • getLambda,
  • getLearningRate,
  • getLossFunction,
  • getSeed,
  • getWeights,
  • reset

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • scheduleAtFixedRate (Timer)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JList (javax.swing)
  • Top Vim plugins
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