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

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

Best Java code snippets using weka.filters.unsupervised.instance.RemovePercentage.resetQueue (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

/**
 * Input an instance for filtering. Ordinarily the instance is processed and
 * made available for output immediately. Some filters require all instances
 * be read before producing output.
 * 
 * @param instance the input instance
 * @return true if the filtered instance may now be collected with output().
 * @throws IllegalStateException if no input format has been set.
 */
@Override
public boolean input(Instance instance) {
 if (getInputFormat() == null) {
  throw new IllegalStateException("No input instance format defined");
 }
 if (m_NewBatch) {
  resetQueue();
  m_NewBatch = false;
 }
 if (isFirstBatchDone()) {
  push(instance);
  return true;
 } else {
  bufferInput(instance);
  return false;
 }
}
origin: Waikato/weka-trunk

/**
 * Input an instance for filtering. Ordinarily the instance is processed and
 * made available for output immediately. Some filters require all instances
 * be read before producing output.
 * 
 * @param instance the input instance
 * @return true if the filtered instance may now be collected with output().
 * @throws IllegalStateException if no input format has been set.
 */
@Override
public boolean input(Instance instance) {
 if (getInputFormat() == null) {
  throw new IllegalStateException("No input instance format defined");
 }
 if (m_NewBatch) {
  resetQueue();
  m_NewBatch = false;
 }
 if (isFirstBatchDone()) {
  push(instance);
  return true;
 } else {
  bufferInput(instance);
  return false;
 }
}
weka.filters.unsupervised.instanceRemovePercentageresetQueue

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
  • getInvertSelection
    Gets if selection is to be inverted.
  • getPercentage
    Gets the percentage of instances to select.
  • isFirstBatchDone
  • numPendingOutput
  • push
  • numPendingOutput,
  • push,
  • runFilter,
  • setOutputFormat

Popular in Java

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (Timer)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • Set (java.util)
    A collection that contains no duplicate elements. More formally, sets contain no pair of elements e1
  • JComboBox (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
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