public class GaussianFittingFunction extends Object implements FittingFunction
amplitude, position, widthwhereas we use
mean, stddev, scalingBut we're obviously using essentially the same mathematics. The function also can use a mixture of gaussians, just use an appropriate number of parameters (which obviously needs to be a multiple of 3)
Modifier and Type | Field and Description |
---|---|
static GaussianFittingFunction |
STATIC
Static instance
|
Constructor and Description |
---|
GaussianFittingFunction() |
Modifier and Type | Method and Description |
---|---|
FittingFunctionResult |
eval(double x,
double[] params)
compute the mixture of Gaussians at the given position
|
public static final GaussianFittingFunction STATIC
public FittingFunctionResult eval(double x, double[] params)
eval
in interface FittingFunction
x
- Current coordinateparams
- Function parameters parametersCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.