Changes between Version 2 and Version 3 of Ticket #2704, comment 15
- Timestamp:
- 04/20/17 17:28:22 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2704, comment 15
v2 v3 22 22 var experiment = new Experiment(); 23 23 vars["experiment"] = experiment; 24 for(int i=0;i< 100;i++) {25 var p = ExpressionGenerator. NonlinearExpression(urand, variables, useLog: true, useExp: true);24 for(int i=0;i<20;i++) { 25 var p = ExpressionGenerator.RationalExpression(urand, variables, useLog: true, useExp: true); 26 26 // Console.WriteLine(p.PrintDot()); 27 //Console.WriteLine(p.PrintInfix());27 Console.WriteLine(p.PrintInfix()); 28 28 29 29 var infixParser = new InfixExpressionParser(); … … 55 55 var problemData = new RegressionProblemData(ds, variables.Select(v => v.Name), "y"); 56 56 vars["problemData"] = problemData; 57 // var osgp = (IAlgorithm) vars["OSGP C"];57 // var osgp = (IAlgorithm) vars["OSGP"]; 58 58 // var regProblem = (SymbolicRegressionSingleObjectiveProblem)osgp.Problem; 59 59 // regProblem.Name = formatter.Format(t); 60 // osgp.Name = "OSGP C- " + regProblem.Name;60 // osgp.Name = "OSGP - " + regProblem.Name; 61 61 // regProblem.ProblemData = problemData; 62 62 // … … 68 68 } 69 69 } 70 } 70 71 }}}