Examples of analyze()


Examples of org.enclojure.ide.asm.tree.analysis.Analyzer.analyze()

            MethodNode method = (MethodNode) methods.get(i);
            Analyzer a = new Analyzer(new SimpleVerifier(Type.getObjectType(cn.name),
                    syperType,
                    false));
            try {
                a.analyze(cn.name, method);
                if (!dump) {
                    continue;
                }
            } catch (Exception e) {
                e.printStackTrace(pw);
View Full Code Here

Examples of org.encog.app.analyst.csv.AnalystClusterCSV.analyze()

    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

Examples of org.encog.app.analyst.csv.AnalystEvaluateCSV.analyze()

    final AnalystEvaluateCSV eval = new AnalystEvaluateCSV();
    eval.setScript(getScript());
    getAnalyst().setCurrentQuantTask(eval);
    eval.setReport(new AnalystReportBridge(getAnalyst()));
    eval.analyze(getAnalyst(), evalFile, headers, getProp()
        .getPropertyCSVFormat(
            ScriptProperties.SETUP_CONFIG_CSV_FORMAT));
    eval.process(outputFile, method);
    getAnalyst().setCurrentQuantTask(null);
    return eval.shouldStop();
View Full Code Here

Examples of org.encog.app.analyst.csv.AnalystEvaluateRawCSV.analyze()

    final AnalystEvaluateRawCSV eval = new AnalystEvaluateRawCSV();
    eval.setScript(getScript());
    getAnalyst().setCurrentQuantTask(eval);
    eval.setReport(new AnalystReportBridge(getAnalyst()));
    eval.analyze(getAnalyst(), evalFile, headers, getProp()
        .getPropertyCSVFormat(
            ScriptProperties.SETUP_CONFIG_CSV_FORMAT));
    eval.process(outputFile, method);
    getAnalyst().setCurrentQuantTask(null);
    return eval.shouldStop();
View Full Code Here

Examples of org.encog.app.analyst.csv.balance.BalanceCSV.analyze()

  }

  public void testBalanceCSVHeaders() throws IOException {
    generateTestFile(true);
    BalanceCSV norm = new BalanceCSV();
    norm.analyze(INPUT_NAME, true, CSVFormat.ENGLISH);
    norm.process(OUTPUT_NAME, 1, 2);

    BufferedReader tr = new BufferedReader(new FileReader(OUTPUT_NAME));

    Assert.assertEquals("\"a\",\"b\"", tr.readLine());
View Full Code Here

Examples of org.encog.app.analyst.csv.filter.FilterCSV.analyze()

    public void testFilterCSVHeaders() throws IOException
    {
        generateTestFileHeadings(true);
        FilterCSV norm = new FilterCSV();
        norm.analyze(INPUT_NAME, true, CSVFormat.ENGLISH);
        norm.exclude(1, "1");
        norm.process(OUTPUT_NAME);

        BufferedReader tr = new BufferedReader(new FileReader(OUTPUT_NAME));
        Assert.assertEquals("\"a\",\"b\"", tr.readLine());
View Full Code Here

Examples of org.encog.app.analyst.csv.normalize.AnalystNormalizeCSV.analyze()

    norm.setScript(getScript());
    getAnalyst().setCurrentQuantTask(norm);
    norm.setReport(new AnalystReportBridge(getAnalyst()));

    final boolean headers = getScript().expectInputHeaders(sourceID);
    norm.analyze(sourceFile, headers, inputFormat, getAnalyst());
    norm.setOutputFormat(outputFormat);
    norm.setProduceOutputHeaders(true);
    norm.normalize(targetFile);
    getAnalyst().setCurrentQuantTask(null);
    return norm.shouldStop();
View Full Code Here

Examples of org.encog.app.analyst.csv.process.AnalystProcess.analyze()

    final AnalystProcess process = new AnalystProcess(getAnalyst(),backwardSize,forwardSize);
    process.setScript(getScript());
    getAnalyst().setCurrentQuantTask(process);
    process.setReport(new AnalystReportBridge(getAnalyst()));
    final boolean headers = getScript().expectInputHeaders(sourceID);
    process.analyze(sourceFile, headers, format);
    process.process(targetFile);
    getAnalyst().setCurrentQuantTask(null);
    return process.shouldStop();
  }
View Full Code Here

Examples of org.encog.app.analyst.csv.segregate.SegregateCSV.analyze()

    {
        generateTestFileHeadings(true);
        SegregateCSV norm = new SegregateCSV();
        norm.getTargets().add(new SegregateTargetPercent(OUTPUT1_NAME, 75));
        norm.getTargets().add(new SegregateTargetPercent(OUTPUT2_NAME, 25));
        norm.analyze(INPUT_NAME, true, CSVFormat.ENGLISH);           
        norm.process();

        BufferedReader tr = new BufferedReader(new FileReader(OUTPUT1_NAME));
        Assert.assertEquals("\"a\",\"b\"",tr.readLine());
        Assert.assertEquals("one,1",tr.readLine());
View Full Code Here

Examples of org.encog.app.analyst.csv.shuffle.ShuffleCSV.analyze()

    public void testShuffleHeaders() throws IOException
    {
        generateTestFileHeadings(true);
        ShuffleCSV norm = new ShuffleCSV();
        norm.analyze(INPUT_NAME, true, CSVFormat.ENGLISH);
        norm.process(OUTPUT_NAME);

        BufferedReader tr = new BufferedReader(new FileReader(OUTPUT_NAME));
        String line;
        Map<String, Integer> list = new HashMap<String, Integer>();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.