diff --git a/src/core/de.evoal.approximative.density/src/main/resources/META-INF/definitions/ea/density.dl b/src/core/de.evoal.approximative.density/src/main/resources/META-INF/definitions/ea/density.dl deleted file mode 100644 index 2394a59f024e4bf83ee7c4e2c7b4f7ad9ac5e645..0000000000000000000000000000000000000000 --- a/src/core/de.evoal.approximative.density/src/main/resources/META-INF/definitions/ea/density.dl +++ /dev/null @@ -1,22 +0,0 @@ -/** - * Base type for density-based fitness value handling. - */ -abstract type density extends 'decorated-fitness-function' { - /** - * Which probability calculation should be used (source-based, target-based, both). - */ - kind : string; - - /** - * Exponent for the formula. - */ - exponent : float; - - /** - * Exponent for the formula. - */ - 'root-exponent' : float; -} - -type density1 extends density {} -type density2 extends density {} \ No newline at end of file diff --git a/src/core/de.evoal.approximative.density/src/main/resources/META-INF/definitions/surrogate/density.dl b/src/core/de.evoal.approximative.density/src/main/resources/META-INF/definitions/surrogate/density.dl deleted file mode 100644 index e2819d3c5b69287a430b23bf4298c108dae0b5f9..0000000000000000000000000000000000000000 --- a/src/core/de.evoal.approximative.density/src/main/resources/META-INF/definitions/surrogate/density.dl +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Measures density information using kernel density. - * - * @param bandwith Width for density calculation. - */ -def void 'density-estimation-1'(float bandwidth); - -/** - * Measures density information using a gaussian kernel. - * - * @param bandwith Width for density calculation. - */ -def void 'density-estimation-2'(float bandwidth); \ No newline at end of file diff --git a/src/core/de.evoal.surrogate.svr/src/main/java/de/evoal/surrogate/svr/KernelHelper.java b/src/core/de.evoal.surrogate.svr/src/main/java/de/evoal/surrogate/svr/KernelHelper.java index e4ab6f230e18862fd01c7374a5057a7127c2d85e..46c4ce1c554a3597a4a8ee0dce28ac632f5fbd86 100644 --- a/src/core/de.evoal.surrogate.svr/src/main/java/de/evoal/surrogate/svr/KernelHelper.java +++ b/src/core/de.evoal.surrogate.svr/src/main/java/de/evoal/surrogate/svr/KernelHelper.java @@ -153,7 +153,7 @@ public final class KernelHelper { } case "hyperbolic-tangent": { - toHyperbolicTangentKernel(parameters); + return toHyperbolicTangentKernel(parameters); } case "laplacian": {