- Timestamp:
- 07/19/16 14:21:31 (9 years ago)
- File:
-
- 1 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)));
Note: See TracChangeset
for help on using the changeset viewer.