Codota Logo
AbstractFileLoader.reset
Code IndexAdd Codota to your IDE (free)

How to use
reset
method
in
weka.core.converters.AbstractFileLoader

Best Java code snippets using weka.core.converters.AbstractFileLoader.reset (Showing top 2 results out of 315)

  • Common ways to obtain AbstractFileLoader
private void myMethod () {
AbstractFileLoader a =
  • Codota IconString filename;ConverterUtils.getLoaderForFile(filename)
  • Codota IconConverterFileChooser converterFileChooser;converterFileChooser.getLoader()
  • Smart code suggestions by Codota
}
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * Set the environment variables to use.
 * 
 * @param env the environment variables to use
 */
@Override
public void setEnvironment(Environment env) {
 m_env = env;
 try {
  // causes setSource(File) to be called and
  // forces the input stream to be reset with a new file
  // that has environment variables resolved with those
  // in the new Environment object
  reset();
 } catch (IOException ex) {
  // we won't complain about it here...
 }
}
origin: Waikato/weka-trunk

/**
 * Set the environment variables to use.
 * 
 * @param env the environment variables to use
 */
@Override
public void setEnvironment(Environment env) {
 m_env = env;
 try {
  // causes setSource(File) to be called and
  // forces the input stream to be reset with a new file
  // that has environment variables resolved with those
  // in the new Environment object
  reset();
 } catch (IOException ex) {
  // we won't complain about it here...
 }
}
weka.core.convertersAbstractFileLoaderreset

Javadoc

Resets the loader ready to read a new data set

Popular methods of AbstractFileLoader

  • setFile
    sets the source File
  • getDataSet
  • getFileDescription
  • getFileExtension
  • getFileExtensions
  • getNextInstance
  • getStructure
  • getUseRelativePath
    Gets whether relative paths are to be used
  • makeOptionStr
    generates a string suitable for output on the command line displaying all available options (current
  • retrieveFile
    get the File specified as the source
  • runFileLoader
    runs the given loader with the provided options
  • setRetrieval
  • runFileLoader,
  • setRetrieval,
  • setSource

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • FileWriter (java.io)
    Convenience class for writing character files. The constructors of this class assume that the defaul
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • ArrayList (java.util)
    Resizable-array implementation of the List interface. Implements all optional list operations, and p
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • JFileChooser (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