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)

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

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • setScale (BigDecimal)
  • getApplicationContext (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • JComboBox (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top 12 Jupyter Notebook extensions
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