Package org.encog.app.analyst.csv

Examples of org.encog.app.analyst.csv.AnalystClusterCSV


    // mark generated
    getScript().markGenerated(targetID);

    // prepare to normalize
    final AnalystClusterCSV cluster = new AnalystClusterCSV();
    cluster.setScript(getScript());
    getAnalyst().setCurrentQuantTask(cluster);
    cluster.setReport(new AnalystReportBridge(getAnalyst()));
    final boolean headers = getScript().expectInputHeaders(sourceID);
    cluster.analyze(getAnalyst(), sourceFile, headers, inputFormat);
    cluster.setOutputFormat(outputFormat);
    cluster.process(targetFile, clusters, getAnalyst(), DEFAULT_ITERATIONS);
    getAnalyst().setCurrentQuantTask(null);
    return cluster.shouldStop();
  }
View Full Code Here


    // mark generated
    getScript().markGenerated(targetID);

    // prepare to normalize
    final AnalystClusterCSV cluster = new AnalystClusterCSV();
    cluster.setScript(getScript());
    getAnalyst().setCurrentQuantTask(cluster);
    cluster.setReport(new AnalystReportBridge(getAnalyst()));
    final boolean headers = getScript().expectInputHeaders(sourceID);
    cluster.analyze(getAnalyst(), sourceFile, headers, format);
    cluster.process(targetFile, clusters, getAnalyst(), DEFAULT_ITERATIONS);
    getAnalyst().setCurrentQuantTask(null);
    return cluster.shouldStop();
  }
View Full Code Here

TOP

Related Classes of org.encog.app.analyst.csv.AnalystClusterCSV

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.