Package org.encog.ml.prg.generator

Examples of org.encog.ml.prg.generator.PrgGrowGenerator.generate()


    context.defineVariable("x");
   
    StandardExtensions.createAll(context);
   
    PrgGrowGenerator rnd = new PrgGrowGenerator(context,2);
    EncogProgram prg = rnd.generate(new Random());
    RenderCommonExpression render = new RenderCommonExpression();
    String str = render.render(prg);
    System.out.println(str);
  }
}
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.