Changeset 14872 for branches/RBFRegression/HeuristicLab.Algorithms.DataAnalysis/3.4/RadialBasisFunctions/KernelFunctions/LaplacianKernel.cs
- Timestamp:
- 04/14/17 17:53:30 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RBFRegression/HeuristicLab.Algorithms.DataAnalysis/3.4/RadialBasisFunctions/KernelFunctions/LaplacianKernel.cs
r14386 r14872 29 29 namespace HeuristicLab.Algorithms.DataAnalysis { 30 30 [StorableClass] 31 [Item("LaplacianKernel", "A kernel function that uses an exponential function.\nIt is equvalent to the Gaussiankernel but less suseptible to improper values of beta")] 32 public class LaplacianKernel<T> : KernelBase<T> { 33 34 #region HLConstructors & Boilerplate 31 [Item("LaplacianKernel", "A kernel function that uses an exponential function.\nIt is equvalent to the Gaussian kernel but less susceptible to improper values of beta")] 32 public class LaplacianKernel : KernelBase { 35 33 [StorableConstructor] 36 34 protected LaplacianKernel(bool deserializing) : base(deserializing) { } 37 35 [StorableHook(HookType.AfterDeserialization)] 38 36 private void AfterDeserialization() { } 39 protected LaplacianKernel(LaplacianKernel <T>original, Cloner cloner) : base(original, cloner) { }37 protected LaplacianKernel(LaplacianKernel original, Cloner cloner) : base(original, cloner) { } 40 38 public LaplacianKernel() { 41 Parameters.Add(new FixedValueParameter<DoubleValue>(BetaParameterName, "The beta in the kernel function exp(-||x-c||/beta)", new DoubleValue(2)));39 Parameters.Add(new FixedValueParameter<DoubleValue>(BetaParameterName, "The beta in the kernel function exp(-||x-c||/beta)", new DoubleValue(2))); 42 40 } 43 41 public override IDeepCloneable Clone(Cloner cloner) { 44 return new LaplacianKernel <T>(this, cloner);42 return new LaplacianKernel(this, cloner); 45 43 } 46 #endregion47 44 48 45 protected override double Get(double norm) {
Note: See TracChangeset
for help on using the changeset viewer.