Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/10/12 13:42:43 (12 years ago)
Author:
gkronber
Message:

#1902 renamed covariance functions

Location:
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess
Files:
1 edited
4 moved

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceRationalQuadraticArd.cs

    r8612 r8615  
    3030namespace HeuristicLab.Algorithms.DataAnalysis {
    3131  [StorableClass]
    32   [Item(Name = "CovarianceRQArd",
     32  [Item(Name = "CovarianceRationalQuadraticArd",
    3333    Description = "Rational quadratic covariance function with automatic relevance determination for Gaussian processes.")]
    34   public sealed class CovarianceRQArd : ParameterizedNamedItem, ICovarianceFunction {
     34  public sealed class CovarianceRationalQuadraticArd : ParameterizedNamedItem, ICovarianceFunction {
    3535    [Storable]
    3636    private double sf2;
     
    5858
    5959    [StorableConstructor]
    60     private CovarianceRQArd(bool deserializing)
     60    private CovarianceRationalQuadraticArd(bool deserializing)
    6161      : base(deserializing) {
    6262    }
    6363
    64     private CovarianceRQArd(CovarianceRQArd original, Cloner cloner)
     64    private CovarianceRationalQuadraticArd(CovarianceRationalQuadraticArd original, Cloner cloner)
    6565      : base(original, cloner) {
    6666      this.scaleParameter = cloner.Clone(original.scaleParameter);
     
    7979    }
    8080
    81     public CovarianceRQArd()
     81    public CovarianceRationalQuadraticArd()
    8282      : base() {
    8383      Name = ItemName;
     
    9696
    9797    public override IDeepCloneable Clone(Cloner cloner) {
    98       return new CovarianceRQArd(this, cloner);
     98      return new CovarianceRationalQuadraticArd(this, cloner);
    9999    }
    100100
     
    131131        i += hyp.Skip(i).Count();
    132132      }
    133       if (hyp.Length != i) throw new ArgumentException("The length of the parameter vector does not match the number of free parameters for CovarianceRQArd", "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");
    134134    }
    135135
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceRationalQuadraticIso.cs

    r8612 r8615  
    2929namespace HeuristicLab.Algorithms.DataAnalysis {
    3030  [StorableClass]
    31   [Item(Name = "CovarianceRQiso",
     31  [Item(Name = "CovarianceRationalQuadraticIso",
    3232    Description = "Isotropic rational quadratic covariance function for Gaussian processes.")]
    33   public sealed class CovarianceRQiso : ParameterizedNamedItem, ICovarianceFunction {
     33  public sealed class CovarianceRationalQuadraticIso : ParameterizedNamedItem, ICovarianceFunction {
    3434    [Storable]
    3535    private double sf2;
     
    5151
    5252    [StorableConstructor]
    53     private CovarianceRQiso(bool deserializing)
     53    private CovarianceRationalQuadraticIso(bool deserializing)
    5454      : base(deserializing) {
    5555    }
    5656
    57     private CovarianceRQiso(CovarianceRQiso original, Cloner cloner)
     57    private CovarianceRationalQuadraticIso(CovarianceRationalQuadraticIso original, Cloner cloner)
    5858      : base(original, cloner) {
    5959      this.sf2 = original.sf2;
     
    6969    }
    7070
    71     public CovarianceRQiso()
     71    public CovarianceRationalQuadraticIso()
    7272      : base() {
    7373      Name = ItemName;
     
    8686
    8787    public override IDeepCloneable Clone(Cloner cloner) {
    88       return new CovarianceRQiso(this, cloner);
     88      return new CovarianceRationalQuadraticIso(this, cloner);
    8989    }
    9090
     
    121121        i++;
    122122      }
    123       if (hyp.Length != i) throw new ArgumentException("The length of the parameter vector does not match the number of free parameters for CovarianceRQiso", "hyp");
     123      if (hyp.Length != i) throw new ArgumentException("The length of the parameter vector does not match the number of free parameters for CovarianceRationalQuadraticIso", "hyp");
    124124    }
    125125
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceSquaredExponentialArd.cs

    r8612 r8615  
    3030namespace HeuristicLab.Algorithms.DataAnalysis {
    3131  [StorableClass]
    32   [Item(Name = "CovarianceSEard", Description = "Squared exponential covariance function with automatic relevance determination for Gaussian processes.")]
    33   public sealed class CovarianceSEard : ParameterizedNamedItem, ICovarianceFunction {
     32  [Item(Name = "CovarianceSquaredExponentialArd", Description = "Squared exponential covariance function with automatic relevance determination for Gaussian processes.")]
     33  public sealed class CovarianceSquaredExponentialArd : ParameterizedNamedItem, ICovarianceFunction {
    3434    [Storable]
    3535    private double sf2;
     
    4545
    4646    [StorableConstructor]
    47     private CovarianceSEard(bool deserializing) : base(deserializing) { }
    48     private CovarianceSEard(CovarianceSEard original, Cloner cloner)
     47    private CovarianceSquaredExponentialArd(bool deserializing) : base(deserializing) { }
     48    private CovarianceSquaredExponentialArd(CovarianceSquaredExponentialArd original, Cloner cloner)
    4949      : base(original, cloner) {
    5050      this.sf2 = original.sf2;
     
    5959      RegisterEvents();
    6060    }
    61     public CovarianceSEard()
     61    public CovarianceSquaredExponentialArd()
    6262      : base() {
    6363      Name = ItemName;
     
    7474
    7575    public override IDeepCloneable Clone(Cloner cloner) {
    76       return new CovarianceSEard(this, cloner);
     76      return new CovarianceSquaredExponentialArd(this, cloner);
    7777    }
    7878
     
    107107        i += hyp.Skip(i).Count();
    108108      }
    109       if (hyp.Length != i) throw new ArgumentException("The length of the parameter vector does not match the number of free parameters for CovariancSEard", "hyp");
     109      if (hyp.Length != i) throw new ArgumentException("The length of the parameter vector does not match the number of free parameters for CovarianceSquaredExponentialArd", "hyp");
    110110    }
    111111
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/CovarianceSquaredExponentialIso.cs

    r8612 r8615  
    2929namespace HeuristicLab.Algorithms.DataAnalysis {
    3030  [StorableClass]
    31   [Item(Name = "CovarianceSEiso",
     31  [Item(Name = "CovarianceSquaredExponentialIso",
    3232    Description = "Isotropic squared exponential covariance function for Gaussian processes.")]
    33   public sealed class CovarianceSEiso : ParameterizedNamedItem, ICovarianceFunction {
     33  public sealed class CovarianceSquaredExponentialIso : ParameterizedNamedItem, ICovarianceFunction {
    3434    [Storable]
    3535    private double sf2;
     
    4545
    4646    [StorableConstructor]
    47     private CovarianceSEiso(bool deserializing)
     47    private CovarianceSquaredExponentialIso(bool deserializing)
    4848      : base(deserializing) {
    4949    }
    5050
    51     private CovarianceSEiso(CovarianceSEiso original, Cloner cloner)
     51    private CovarianceSquaredExponentialIso(CovarianceSquaredExponentialIso original, Cloner cloner)
    5252      : base(original, cloner) {
    5353      this.sf2 = original.sf2;
     
    6060    }
    6161
    62     public CovarianceSEiso()
     62    public CovarianceSquaredExponentialIso()
    6363      : base() {
    6464      Name = ItemName;
     
    7575
    7676    public override IDeepCloneable Clone(Cloner cloner) {
    77       return new CovarianceSEiso(this, cloner);
     77      return new CovarianceSquaredExponentialIso(this, cloner);
    7878    }
    7979
     
    104104        i++;
    105105      }
    106       if (hyp.Length != i) throw new ArgumentException("The length of the parameter vector does not match the number of free parameters for CovarianceSEiso", "hyp");
     106      if (hyp.Length != i) throw new ArgumentException("The length of the parameter vector does not match the number of free parameters for CovarianceSquaredExponentialIso", "hyp");
    107107    }
    108108
  • trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessRegression.cs

    r8495 r8615  
    102102
    103103      Parameters.Add(new ValueParameter<IMeanFunction>(MeanFunctionParameterName, "The mean function to use.", new MeanConst()));
    104       Parameters.Add(new ValueParameter<ICovarianceFunction>(CovarianceFunctionParameterName, "The covariance function to use.", new CovarianceSEiso()));
     104      Parameters.Add(new ValueParameter<ICovarianceFunction>(CovarianceFunctionParameterName, "The covariance function to use.", new CovarianceSquaredExponentialIso()));
    105105      Parameters.Add(new ValueParameter<IntValue>(MinimizationIterationsParameterName, "The number of iterations for likelihood optimization with LM-BFGS.", new IntValue(20)));
    106106      Parameters.Add(new ValueParameter<IntValue>(SeedParameterName, "The random seed used to initialize the new pseudo random number generator.", new IntValue(0)));
Note: See TracChangeset for help on using the changeset viewer.