Changeset 15369 for branches/MathNetNumerics-Exploration-2789/HeuristicLab.Algorithms.DataAnalysis.Experimental/GAM.cs
- Timestamp:
- 09/19/17 07:15:37 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/MathNetNumerics-Exploration-2789/HeuristicLab.Algorithms.DataAnalysis.Experimental/GAM.cs
r15365 r15369 151 151 if (problemData.Dataset.VariableHasType<double>(inputVar)) { 152 152 // Umständlich! 153 return Splines.Calculate SmoothingSplineReinschWithAutomaticTolerance(153 return Splines.CalculatePenalizedRegressionSpline( 154 154 problemData.Dataset.GetDoubleValues(inputVar, problemData.TrainingIndices).ToArray(), 155 (double[])target.Clone(), 156 new string[] { inputVar },157 targetVar: problemData.TargetVariable);155 (double[])target.Clone(), lambda, 156 problemData.TargetVariable, new string[] { inputVar } 157 ); 158 158 } else return new ConstantModel(target.Average(), problemData.TargetVariable); 159 159 }
Note: See TracChangeset
for help on using the changeset viewer.