Changeset 8473 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/MeanLinear.cs
- Timestamp:
- 08/10/12 20:42:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/MeanLinear.cs
r8416 r8473 31 31 [Storable] 32 32 private double[] alpha; 33 public double[] Weights { 34 get { 35 if (alpha == null) return new double[0]; 36 var copy = new double[alpha.Length]; 37 Array.Copy(alpha, copy, copy.Length); 38 return copy; 39 } 40 } 33 41 public int GetNumberOfParameters(int numberOfVariables) { 34 42 return numberOfVariables;
Note: See TracChangeset
for help on using the changeset viewer.