Changeset 8615 for trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceRationalQuadraticArd.cs
- Timestamp:
- 09/10/12 13:42:43 (12 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceRationalQuadraticArd.cs
r8612 r8615 30 30 namespace HeuristicLab.Algorithms.DataAnalysis { 31 31 [StorableClass] 32 [Item(Name = "CovarianceR QArd",32 [Item(Name = "CovarianceRationalQuadraticArd", 33 33 Description = "Rational quadratic covariance function with automatic relevance determination for Gaussian processes.")] 34 public sealed class CovarianceR QArd : ParameterizedNamedItem, ICovarianceFunction {34 public sealed class CovarianceRationalQuadraticArd : ParameterizedNamedItem, ICovarianceFunction { 35 35 [Storable] 36 36 private double sf2; … … 58 58 59 59 [StorableConstructor] 60 private CovarianceR QArd(bool deserializing)60 private CovarianceRationalQuadraticArd(bool deserializing) 61 61 : base(deserializing) { 62 62 } 63 63 64 private CovarianceR QArd(CovarianceRQArd original, Cloner cloner)64 private CovarianceRationalQuadraticArd(CovarianceRationalQuadraticArd original, Cloner cloner) 65 65 : base(original, cloner) { 66 66 this.scaleParameter = cloner.Clone(original.scaleParameter); … … 79 79 } 80 80 81 public CovarianceR QArd()81 public CovarianceRationalQuadraticArd() 82 82 : base() { 83 83 Name = ItemName; … … 96 96 97 97 public override IDeepCloneable Clone(Cloner cloner) { 98 return new CovarianceR QArd(this, cloner);98 return new CovarianceRationalQuadraticArd(this, cloner); 99 99 } 100 100 … … 131 131 i += hyp.Skip(i).Count(); 132 132 } 133 if (hyp.Length != i) throw new ArgumentException("The length of the parameter vector does not match the number of free parameters for CovarianceR QArd", "hyp");133 if (hyp.Length != i) throw new ArgumentException("The length of the parameter vector does not match the number of free parameters for CovarianceRationalQuadraticArd", "hyp"); 134 134 } 135 135
Note: See TracChangeset
for help on using the changeset viewer.