- Timestamp:
- 07/19/16 14:21:31 (8 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/NonlinearRegression/NonlinearRegression.cs
r14024 r14109 42 42 [StorableClass] 43 43 public sealed class NonlinearRegression : FixedDataAnalysisAlgorithm<IRegressionProblem> { 44 private const string LinearRegressionModelResultName = "Regression solution";44 private const string RegressionSolutionResultName = "Regression solution"; 45 45 private const string ModelStructureParameterName = "Model structure"; 46 46 private const string IterationsParameterName = "Iterations"; … … 85 85 protected override void Run() { 86 86 var solution = CreateRegressionSolution(Problem.ProblemData, ModelStructure, Iterations); 87 Results.Add(new Result( LinearRegressionModelResultName, "The nonlinear regression solution.", solution));87 Results.Add(new Result(RegressionSolutionResultName, "The nonlinear regression solution.", solution)); 88 88 Results.Add(new Result("Root mean square error (train)", "The root of the mean of squared errors of the regression solution on the training set.", new DoubleValue(solution.TrainingRootMeanSquaredError))); 89 89 Results.Add(new Result("Root mean square error (test)", "The root of the mean of squared errors of the regression solution on the test set.", new DoubleValue(solution.TestRootMeanSquaredError))); -
trunk/sources/HeuristicLab.Tests/HeuristicLab.Problems.DataAnalysis.Symbolic-3.4/InfixExpressionParserTest.cs
r14024 r14109 31 31 [TestCategory("Problems.DataAnalysis.Symbolic")] 32 32 [TestProperty("Time", "short")] 33 public void StandardInterpreterTestTypeCoherentGrammarPerformance() {33 public void InfixExpressionParserTestFormatting() { 34 34 var formatter = new InfixExpressionFormatter(); 35 35 var parser = new InfixExpressionParser(); … … 37 37 Console.WriteLine(formatter.Format(parser.Parse("3*3"))); 38 38 Console.WriteLine(formatter.Format(parser.Parse("3 * 4"))); 39 Console.WriteLine(formatter.Format(parser.Parse("123E-03") ));39 Console.WriteLine(formatter.Format(parser.Parse("123E-03") )); 40 40 Console.WriteLine(formatter.Format(parser.Parse("123e-03"))); 41 41 Console.WriteLine(formatter.Format(parser.Parse("123e+03")));
Note: See TracChangeset
for help on using the changeset viewer.