congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
AbstractFileLoader.setSource
Code IndexAdd Tabnine to your IDE (free)

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

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

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

/**
 * Resets the Loader object and sets the source of the data set to be the
 * supplied File object.
 *
 * @param file the source file.
 * @exception IOException if an error occurs
 */
@Override
public void setSource(File file) throws IOException {
 super.setSource(file);
}
origin: Waikato/weka-trunk

/**
 * Resets the Loader object and sets the source of the data set to be the
 * supplied File object.
 *
 * @param file the source file.
 * @exception IOException if an error occurs
 */
@Override
public void setSource(File file) throws IOException {
 super.setSource(file);
}
origin: Waikato/weka-trunk

/**
 * sets the source File
 * 
 * @param file the source file
 * @exception IOException if an error occurs
 */
@Override
public void setFile(File file) throws IOException {
 m_structure = null;
 setRetrieval(NONE);
 // m_File = file.getAbsolutePath();
 setSource(file);
}
origin: nz.ac.waikato.cms.weka/weka-stable

/**
 * sets the source File
 * 
 * @param file the source file
 * @exception IOException if an error occurs
 */
@Override
public void setFile(File file) throws IOException {
 m_structure = null;
 setRetrieval(NONE);
 // m_File = file.getAbsolutePath();
 setSource(file);
}
origin: nz.ac.waikato.cms.weka/weka-stable

if (file.getName().endsWith(
 getFileExtension() + FILE_EXTENSION_COMPRESSED)) {
 setSource(new GZIPInputStream(new FileInputStream(file)));
} else {
 setSource(new FileInputStream(file));
 .getResource(fnameWithCorrectSeparators) != null) {
 setSource(this.getClass().getClassLoader()
  .getResourceAsStream(fnameWithCorrectSeparators));
origin: Waikato/weka-trunk

if (file.getName().endsWith(
 getFileExtension() + FILE_EXTENSION_COMPRESSED)) {
 setSource(new GZIPInputStream(new FileInputStream(file)));
} else {
 setSource(new FileInputStream(file));
 .getResource(fnameWithCorrectSeparators) != null) {
 setSource(this.getClass().getClassLoader()
  .getResourceAsStream(fnameWithCorrectSeparators));
origin: Waikato/weka-trunk

 ((weka.core.converters.AbstractFileLoader) result).setSource(new File(
  file));
} else {
origin: nz.ac.waikato.cms.weka/weka-stable

 ((weka.core.converters.AbstractFileLoader) result).setSource(new File(
  file));
} else {
origin: nz.ac.waikato.cms.weka/weka-stable

.setSource(new File(filePath));
origin: Waikato/weka-trunk

.setSource(new File(filePath));
weka.core.convertersAbstractFileLoadersetSource

Javadoc

Resets the Loader object and sets the source of the data set to be the supplied File object.

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
  • reset
    Resets the loader ready to read a new data set
  • retrieveFile
    get the File specified as the source
  • runFileLoader
    runs the given loader with the provided options
  • retrieveFile,
  • runFileLoader,
  • setRetrieval

Popular in Java

  • Making http post requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • compareTo (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JComboBox (javax.swing)
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now