Changeset 14116 for stable/HeuristicLab.Algorithms.DataAnalysis
- Timestamp:
- 07/19/16 16:52:14 (9 years ago)
- Location:
- stable
- Files:
-
- 4 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14024,14026,14036,14109
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Algorithms.DataAnalysis merged: 14024,14109
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/HeuristicLab.Algorithms.DataAnalysis-3.4.csproj
r14028 r14116 282 282 <Compile Include="NeuralNetwork\NeuralNetworkRegression.cs" /> 283 283 <Compile Include="NeuralNetwork\NeuralNetworkRegressionSolution.cs" /> 284 <Compile Include="NonlinearRegression\NonlinearRegression.cs" /> 284 285 <Compile Include="Plugin.cs" /> 285 286 <Compile Include="Properties\AssemblyInfo.cs" /> -
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/NonlinearRegression/NonlinearRegression.cs
r14024 r14116 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.