congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
Stats.subtract
Code IndexAdd Tabnine to your IDE (free)

How to use
subtract
method
in
weka.experiment.Stats

Best Java code snippets using weka.experiment.Stats.subtract (Showing top 15 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
List l =
  • Codota Iconnew ArrayList()
  • Codota Iconnew LinkedList()
  • Smart code suggestions by Tabnine
}
origin: Waikato/weka-trunk

/**
 * Removes a value to the observed values (no checking is done
 * that the value being removed was actually added).<p>
 * 
 * It's equivalent to <code>subtract(value, 1)</code><p>
 *
 * @param value the observed value
 */
public void subtract(double value) {
 subtract(value, 1);
}
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Removes a value to the observed values (no checking is done
 * that the value being removed was actually added).<p>
 * 
 * It's equivalent to <code>subtract(value, 1)</code><p>
 *
 * @param value the observed value
 */
public void subtract(double value) {
 subtract(value, 1);
}
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Removes an observed pair of values.
 *
 * @param value1 the value from column 1
 * @param value2 the value from column 2
 */
public void subtract(double value1, double value2) {
 xStats.subtract(value1);
 yStats.subtract(value2);
 differencesStats.subtract(value1 - value2);
 xySum -= value1 * value2;
 count --;
}
origin: Waikato/weka-trunk

/**
 * Removes an observed pair of values.
 *
 * @param value1 the value from column 1
 * @param value2 the value from column 2
 */
public void subtract(double value1, double value2) {
 xStats.subtract(value1);
 yStats.subtract(value2);
 differencesStats.subtract(value1 - value2);
 xySum -= value1 * value2;
 count --;
}
origin: nz.ac.waikato.cms.weka/weka-stable

private void subtractWeightedStats(Stats stats, double... values) {
 assert values.length %2 == 0;
 for (int i = 0; i < values.length; i += 2) {
  stats.subtract(values[i], values[i + 1]);
 }
}

origin: Waikato/weka-trunk

private void subtractWeightedStats(Stats stats, double... values) {
 assert values.length %2 == 0;
 for (int i = 0; i < values.length; i += 2) {
  stats.subtract(values[i], values[i + 1]);
 }
}

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

subtract(value, -weight);
return;
origin: Waikato/weka-trunk

subtract(value, -weight);
return;
origin: nz.ac.waikato.cms.weka/weka-stable

 stats.subtract(b.get(0), b.get(1));
 b.remove(1); b.remove(0);
stats.subtract(b.get(i), b.get(i + 1));
origin: Waikato/weka-trunk

 stats.subtract(b.get(0), b.get(1));
 b.remove(1); b.remove(0);
stats.subtract(b.get(i), b.get(i + 1));
origin: nz.ac.waikato.cms.weka/weka-stable

stats.subtract(value, weight);
checkStatsInvalidState(stats);
stats.subtract(value, weight);
checkStatsInvalidState(stats);
stats.subtract(value, weight);
checkStatsInvalidState(stats);
origin: Waikato/weka-trunk

stats.subtract(value, weight);
checkStatsInvalidState(stats);
stats.subtract(value, weight);
checkStatsInvalidState(stats);
stats.subtract(value, weight);
checkStatsInvalidState(stats);
origin: nz.ac.waikato.cms.weka/weka-stable

} else {
 if (delete) {
  m_attStats[i].numericStats.subtract(value,
   updateInstance.weight());
 } else {
origin: nz.ac.waikato.cms.moa/moa

} else {
  if (delete) {
    m_attStats[i].numericStats.subtract(value,
        updateInstance.weight());
  } else {
origin: Waikato/weka-trunk

} else {
 if (delete) {
  m_attStats[i].numericStats.subtract(value,
   updateInstance.weight());
 } else {
weka.experimentStatssubtract

Javadoc

Removes a value to the observed values (no checking is done that the value being removed was actually added).

It's equivalent to subtract(value, 1)

Popular methods of Stats

  • <init>
  • add
    Adds a weighted value to the observed values
  • calculateDerived
    Tells the object to calculate any statistics that don't have their values automatically updated duri
  • goInvalid
  • isInvalid
  • negativeCount
  • reset

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • getSharedPreferences (Context)
  • findViewById (Activity)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top 17 Plugins for Android Studio
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