Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/19/16 16:52:14 (8 years ago)
Author:
mkommend
Message:

#2627: Merged r14024, r14026, r14036, r14109 into stable.

Location:
stable
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Algorithms.DataAnalysis

  • stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NonlinearRegression/NonlinearRegression.cs

    r14024 r14116  
    4242  [StorableClass]
    4343  public sealed class NonlinearRegression : FixedDataAnalysisAlgorithm<IRegressionProblem> {
    44     private const string LinearRegressionModelResultName = "Regression solution";
     44    private const string RegressionSolutionResultName = "Regression solution";
    4545    private const string ModelStructureParameterName = "Model structure";
    4646    private const string IterationsParameterName = "Iterations";
     
    8585    protected override void Run() {
    8686      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));
    8888      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)));
    8989      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.