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

How to use
getRandomSeed
method
in
weka.filters.unsupervised.instance.Resample

Best Java code snippets using weka.filters.unsupervised.instance.Resample.getRandomSeed (Showing top 4 results out of 315)

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

@ProgrammaticProperty
public int getSeed() {
 return getRandomSeed();
}
origin: Waikato/weka-trunk

@ProgrammaticProperty
public int getSeed() {
 return getRandomSeed();
}
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> result = new Vector<String>();
 result.add("-S");
 result.add("" + getRandomSeed());
 result.add("-Z");
 result.add("" + getSampleSizePercent());
 if (getNoReplacement()) {
  result.add("-no-replacement");
  if (getInvertSelection()) {
   result.add("-V");
  }
 }
 return result.toArray(new String[result.size()]);
}
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> result = new Vector<String>();
 result.add("-S");
 result.add("" + getRandomSeed());
 result.add("-Z");
 result.add("" + getSampleSizePercent());
 if (getNoReplacement()) {
  result.add("-no-replacement");
  if (getInvertSelection()) {
   result.add("-V");
  }
 }
 return result.toArray(new String[result.size()]);
}
weka.filters.unsupervised.instanceResamplegetRandomSeed

Javadoc

Gets the random number seed.

Popular methods of Resample

  • <init>
  • setSampleSizePercent
    Sets the size of the subsample, as a percentage of the original set.
  • setInputFormat
    Sets the format of the input instances.
  • setInvertSelection
    Sets whether the selection is inverted (only if instances are drawn WIHTOUT replacement).
  • setNoReplacement
    Sets whether instances are drawn with or with out replacement.
  • setRandomSeed
    Sets the random number seed.
  • bufferInput
  • createSubsample
    Creates a subsample of the current set of input instances. The output instances are pushed onto the
  • flushInput
  • getInputFormat
  • getInvertSelection
    Gets whether selection is inverted (only if instances are drawn WIHTOUT replacement).
  • getNoReplacement
    Gets whether instances are drawn with or without replacement.
  • getInvertSelection,
  • getNoReplacement,
  • getSampleSizePercent,
  • isFirstBatchDone,
  • numPendingOutput,
  • push,
  • resetQueue,
  • runFilter,
  • setOutputFormat

Popular in Java

  • Updating database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • addToBackStack (FragmentTransaction)
  • scheduleAtFixedRate (Timer)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • 21 Best IntelliJ Plugins
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