Codota Logo
Stats.subtract
Code IndexAdd Codota 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)

  • Common ways to obtain Stats
private void myMethod () {
Stats s =
  • Codota Iconnew Stats()
  • Smart code suggestions by Codota
}
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

  • Creating JSON documents from java classes using gson
  • compareTo (BigDecimal)
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • StringTokenizer (java.util)
    The string tokenizer class allows an application to break a string into tokens. The tokenization met
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • JCheckBox (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now