Package org.encog.ml.data.buffer

Examples of org.encog.ml.data.buffer.MemoryDataLoader


     * @return The loaded dataset.
     */
    public static MLDataSet loadCSV2Memory(String filename, int input, int ideal, boolean headers, CSVFormat format, boolean significance)
    {
        DataSetCODEC codec = new CSVDataCODEC(new File(filename), format, headers, input, ideal, significance);
        MemoryDataLoader load = new MemoryDataLoader(codec);
        MLDataSet dataset = load.external2Memory();
        return dataset;
    }
View Full Code Here


    this.filename = theFilename;
    this.format = theFormat;

    final DataSetCODEC codec = new CSVDataCODEC(new File(filename), format,
        theHeaders, theInputSize, theIdealSize, significance);
    final MemoryDataLoader load = new MemoryDataLoader(codec);
    load.setResult(this);
    load.external2Memory();
  }
View Full Code Here

      final Connection theConnection, final String theSQL,
      final int theInputSize, final int theIdealSize) {

    DataSetCODEC codec = new SQLCODEC(theConnection, theSQL, theInputSize,
        theIdealSize);
        MemoryDataLoader load = new MemoryDataLoader(codec);
        load.setResult(this);
        load.external2Memory();
  }
View Full Code Here

      final int idealSize, final String driver, final String url,
      final String uid, final String pwd) {

    DataSetCODEC codec = new SQLCODEC(sql, inputSize, idealSize, driver,
        url, uid, pwd);
        MemoryDataLoader load = new MemoryDataLoader(codec);
        load.setResult(this);
        load.external2Memory();
  }
View Full Code Here

     * @return The loaded dataset.
     */
    public static MLDataSet loadCSV2Memory(String filename, int input, int ideal, boolean headers, CSVFormat format, boolean significance)
    {
        DataSetCODEC codec = new CSVDataCODEC(new File(filename), format, headers, input, ideal, significance);
        MemoryDataLoader load = new MemoryDataLoader(codec);
        MLDataSet dataset = load.external2Memory();
        return dataset;
    }
View Full Code Here

      final Connection theConnection, final String theSQL,
      final int theInputSize, final int theIdealSize) {

    DataSetCODEC codec = new SQLCODEC(theConnection, theSQL, theInputSize,
        theIdealSize);
        MemoryDataLoader load = new MemoryDataLoader(codec);
        load.setResult(this);
        load.external2Memory();
  }
View Full Code Here

      final int idealSize, final String driver, final String url,
      final String uid, final String pwd) {

    DataSetCODEC codec = new SQLCODEC(sql, inputSize, idealSize, driver,
        url, uid, pwd);
        MemoryDataLoader load = new MemoryDataLoader(codec);
        load.setResult(this);
        load.external2Memory();
  }
View Full Code Here

    this.filename = theFilename;
    this.format = theFormat;

    final DataSetCODEC codec = new CSVDataCODEC(new File(filename), format,
        theHeaders, theInputSize, theIdealSize, significance);
    final MemoryDataLoader load = new MemoryDataLoader(codec);
    load.setResult(this);
    load.external2Memory();
  }
View Full Code Here

TOP

Related Classes of org.encog.ml.data.buffer.MemoryDataLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.