Changeset 14892 for branches/RBFRegression/HeuristicLab.Algorithms.DataAnalysis/3.4/KernelRidgeRegression/KernelRidgeRegressionModel.cs
- Timestamp:
- 04/26/17 12:23:36 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RBFRegression/HeuristicLab.Algorithms.DataAnalysis/3.4/KernelRidgeRegression/KernelRidgeRegressionModel.cs
r14891 r14892 32 32 [Item("KernelRidgeRegressionModel", "A kernel ridge regression model")] 33 33 public sealed class KernelRidgeRegressionModel : RegressionModel { 34 public override IEnumerable<string> VariablesUsedForPrediction 35 { 34 public override IEnumerable<string> VariablesUsedForPrediction { 36 35 get { return allowedInputVariables; } 37 36 } … … 39 38 [Storable] 40 39 private readonly string[] allowedInputVariables; 41 public string[] AllowedInputVariables 42 { 40 public string[] AllowedInputVariables { 43 41 get { return allowedInputVariables; } 44 42 } … … 148 146 } 149 147 LooCvRMSE = Math.Sqrt(ssqLooError / n); 150 } 151 catch (alglib.alglibexception ae) { 148 } catch (alglib.alglibexception ae) { 152 149 // wrap exception so that calling code doesn't have to know about alglib implementation 153 150 throw new ArgumentException("There was a problem in the calculation of the kernel ridge regression model", ae);
Note: See TracChangeset
for help on using the changeset viewer.