Examples of analyze()


Examples of org.encog.app.quant.indicators.ProcessIndicators.analyze()

    public void testIndicatorsHeaders() throws IOException
    {
        generateTestFileHeadings(true);
        ProcessIndicators norm = new ProcessIndicators();
        norm.analyze(INPUT_NAME, true, CSVFormat.ENGLISH);
        norm.addColumn(new MovingAverage(3, true));
        norm.addColumn(new BestClose(3,true));
        norm.getColumns().get(0).setOutput(true);
        norm.process(OUTPUT_NAME);
View Full Code Here

Examples of org.encog.app.quant.ninja.NinjaFileConvert.analyze()

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

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

        Assert.assertEquals("20100101 000000;10;12;8;9;1000",tr.readLine());
View Full Code Here

Examples of org.encog.ml.data.versatile.columns.ColumnDefinition.analyze()

      c++;
      for (int i = 0; i < this.helper.getSourceColumns().size(); i++) {
        ColumnDefinition colDef = this.helper.getSourceColumns().get(i);
        int index = findIndex(colDef);
        String value = line[index];
        colDef.analyze(value);
      }
    }
    this.analyzedRows = c;

    // Calculate the means, and reset for sd calc.
View Full Code Here

Examples of org.encog.util.arrayutil.TemporalWindowArray.analyze()

  }
 
  public MLDataSet generateTraining() {
   
    TemporalWindowArray temp = new TemporalWindowArray(WINDOW_SIZE, 1);
    temp.analyze(this.normalizedSunspots);
    return temp.process(this.normalizedSunspots);
  }
 
  public BasicNetwork createNetwork()
  {
View Full Code Here

Examples of org.exist.xquery.FunctionCall.analyze()

                  pm.queryStarted(context.getWatchDog());
                 
                  final FunctionCall call = new FunctionCall(context, function);
                  if (args != null)
                    {call.setArguments(args);}
                  call.analyze(new AnalyzeContextInfo());
              call.eval(NodeSet.EMPTY_SET);
            }
            } catch(final XPathException e) {
              //XXX: log
              e.printStackTrace();
View Full Code Here

Examples of org.exist.xquery.PathExpr.analyze()

                LOG.debug(treeParser.getErrorMessage());
                throw new EXistException(treeParser.getErrorMessage());
            }
            LOG.info("query: " + ExpressionDumper.dump(expr));
            final long start = System.currentTimeMillis();
            expr.analyze(new AnalyzeContextInfo());
            final Sequence seq= expr.eval(null, null);
           
            QueryResponseCollection[] collections = null;
            if (!seq.isEmpty() && Type.subTypeOf(seq.getItemType(), Type.NODE))
                {collections = collectQueryInfo(scanResults(seq));}
View Full Code Here

Examples of org.exist.xquery.value.FunctionReference.analyze()

           
            //convert the arguments
            final org.exist.xquery.value.Sequence[] fnArgs = convertToExistFunctionArguments(xqueryContext, fn, arguments);
           
            //execute the function call
            fnRef.analyze(new AnalyzeContextInfo());
            final org.exist.xquery.value.Sequence result = fnRef.evalFunction(null, null, fnArgs);
           
            return new SequenceAdapter(result);
        } catch(final URISyntaxException use) {
            throw new RestXqServiceException(use.getMessage(), use);
View Full Code Here

Examples of org.hibernate.tool.hbmlint.HbmLint.analyze()

    setTemplateName( TEXT_REPORT_FTL );   
      super.start();
    }
  protected void setupContext() {
    HbmLint hbmlint = HbmLint.createInstance();
    hbmlint.analyze( getConfiguration() );
    getProperties().put("lintissues", hbmlint.getResults());
    super.setupContext();   
  }
 
  public String getName() {
View Full Code Here

Examples of org.jacoco.core.instr.Analyzer.analyze()

  }

  private void analyze(ClassReader reader, ExecutionDataStore store) {
    final CoverageBuilder builder = new CoverageBuilder(store);
    final Analyzer analyzer = new Analyzer(builder);
    analyzer.analyze(reader);
    final Collection<ClassCoverage> classes = builder.getClasses();
    assertEquals(1, classes.size(), 0.0);
    classCoverage = classes.iterator().next();
    final Collection<SourceFileCoverage> files = builder.getSourceFiles();
    assertEquals(1, files.size(), 0.0);
View Full Code Here

Examples of org.jayasoft.woj.tools.analyzer.DLJavadocGenerator.analyze()

    protected void generateJavadoc(Revision rev) {
      System.out.println("generateJavadoc "+rev+" to woj");
        DLJavadocGenerator generator = new DLJavadocGenerator(_dlexplorer);
        try {
      generator.analyze(rev);
      System.out.println("Javadoc generated");
    } catch (IOException e) {
      e.printStackTrace();
      System.err.println("Unable to generate javadoc :"+e.getMessage());
    } finally {
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.