Skip to content
Snippets Groups Projects
Commit c2b6833d authored by Bernhard Johannes Berger's avatar Bernhard Johannes Berger
Browse files

The code failed to restore a hyperbolic tangent SVR and create a laplacian...

The code failed to restore a hyperbolic tangent SVR and create a laplacian kernel instead. Fixed this bug.
parent d6c3563b
No related branches found
No related tags found
No related merge requests found
Pipeline #244577 passed
/**
* 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
/**
* 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
......@@ -153,7 +153,7 @@ public final class KernelHelper {
}
case "hyperbolic-tangent": {
toHyperbolicTangentKernel(parameters);
return toHyperbolicTangentKernel(parameters);
}
case "laplacian": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment