Package org.encog.persist

Examples of org.encog.persist.EncogWriteHelper.writeLine()


    out.addSubSection("EPL-OPCODES");
    for (final ProgramExtensionTemplate temp : pop.getContext()
        .getFunctions().getOpCodes()) {
      out.addColumn(temp.getName());
      out.addColumn(temp.getChildNodeCount());
      out.writeLine();
    }
    out.addSubSection("EPL-SYMBOLIC");
    out.addColumn("name");
    out.addColumn("type");
    out.addColumn("enum");
View Full Code Here


    out.addColumn("name");
    out.addColumn("type");
    out.addColumn("enum");
    out.addColumn("enum_type");
    out.addColumn("enum_count");
    out.writeLine();

    // write the first line, the result
    out.addColumn("");
    out.addColumn(getType(pop.getContext().getResult()));
    out.addColumn(pop.getContext().getResult().getEnumType());
View Full Code Here

    // write the first line, the result
    out.addColumn("");
    out.addColumn(getType(pop.getContext().getResult()));
    out.addColumn(pop.getContext().getResult().getEnumType());
    out.addColumn(pop.getContext().getResult().getEnumValueCount());
    out.writeLine();

    // write the next lines, the variables
    for (final VariableMapping mapping : pop.getContext()
        .getDefinedVariables()) {
      out.addColumn(mapping.getName());
View Full Code Here

        .getDefinedVariables()) {
      out.addColumn(mapping.getName());
      out.addColumn(getType(mapping));
      out.addColumn(mapping.getEnumType());
      out.addColumn(mapping.getEnumValueCount());
      out.writeLine();
    }
    out.addSubSection("EPL-POPULATION");
    for (final Species species : pop.getSpecies()) {
      if (species.getMembers().size() > 0) {
        out.addColumn("s");
View Full Code Here

      if (species.getMembers().size() > 0) {
        out.addColumn("s");
        out.addColumn(species.getAge());
        out.addColumn(species.getBestScore());
        out.addColumn(species.getGensNoImprovement());
        out.writeLine();
        for (final Genome genome : species.getMembers()) {
          final EncogProgram prg = (EncogProgram) genome;
          out.addColumn("p");
          if (Double.isInfinite(prg.getScore())
              || Double.isNaN(prg.getScore())) {
View Full Code Here

            out.addColumn(prg.getScore());
            out.addColumn(prg.getAdjustedScore());
          }

          out.addColumn(prg.generateEPL());
          out.writeLine();
        }
      }
    }

    out.flush();
View Full Code Here

          out.addColumn(pair.getInput().getData(i));
        }
        for (int i = 0; i < pair.getIdeal().size(); i++) {
          out.addColumn(pair.getIdeal().getData(i));
        }
        out.writeLine();
      }
    }

    out.flush();
  }
View Full Code Here

        out.addColumn(af.getClass().getName());
      }
      for (int i = 0; i < af.getParams().length; i++) {
        out.addColumn(af.getParams()[i]);
      }
      out.writeLine();
    }

    out.flush();
  }
View Full Code Here

        final NEATInnovation innovation = pop.getInnovations()
            .getInnovations().get(key);
        out.addColumn(key);
        out.addColumn(innovation.getInnovationID());
        out.addColumn(innovation.getNeuronID());
        out.writeLine();
      }
    }

    out.addSubSection("SPECIES");
View Full Code Here

    for (final ActivationFunction af : flat.getActivationFunctions()) {
      out.addColumn(af.getClass().getSimpleName());
      for (int i = 0; i < af.getParams().length; i++) {
        out.addColumn(af.getParams()[i]);
      }
      out.writeLine();
    }
    out.addSubSection("RBF");
    for (final RadialBasisFunction rbf : flat.getRBF()) {
      out.addColumn(rbf.getClass().getSimpleName());
      out.addColumn(rbf.getWidth());
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.