Codota Logo
RemovePercentage.getInvertSelection
Code IndexAdd Codota to your IDE (free)

How to use
getInvertSelection
method
in
weka.filters.unsupervised.instance.RemovePercentage

Best Java code snippets using weka.filters.unsupervised.instance.RemovePercentage.getInvertSelection (Showing top 2 results out of 315)

  • Common ways to obtain RemovePercentage
private void myMethod () {
RemovePercentage r =
  • Codota Iconnew RemovePercentage()
  • Smart code suggestions by Codota
}
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Gets the current settings of the filter.
 * 
 * @return an array of strings suitable for passing to setOptions
 */
@Override
public String[] getOptions() {
 Vector<String> options = new Vector<String>();
 options.add("-P");
 options.add("" + getPercentage());
 if (getInvertSelection()) {
  options.add("-V");
 }
 return options.toArray(new String[0]);
}
origin: Waikato/weka-trunk

/**
 * Gets the current settings of the filter.
 * 
 * @return an array of strings suitable for passing to setOptions
 */
@Override
public String[] getOptions() {
 Vector<String> options = new Vector<String>();
 options.add("-P");
 options.add("" + getPercentage());
 if (getInvertSelection()) {
  options.add("-V");
 }
 return options.toArray(new String[0]);
}
weka.filters.unsupervised.instanceRemovePercentagegetInvertSelection

Javadoc

Gets if selection is to be inverted.

Popular methods of RemovePercentage

  • <init>
  • setPercentage
    Sets the percentage of intances to select.
  • setInvertSelection
    Sets if selection is to be inverted.
  • setInputFormat
    Sets the format of the input instances.
  • bufferInput
  • flushInput
  • getInputFormat
  • getPercentage
    Gets the percentage of instances to select.
  • isFirstBatchDone
  • numPendingOutput
  • push
  • resetQueue
  • push,
  • resetQueue,
  • runFilter,
  • setOutputFormat

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (Timer)
  • getSharedPreferences (Context)
  • onRequestPermissionsResult (Fragment)
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
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