BayesicFitting

Model Fitting and Evidence Calculation

View project on GitHub



class Huber( Kernel )Source

Huber is an improper Kernel function

  K( x ) = 1.0 if |x| < 1 else 1.0 / |x|

It is improper because the integral equals +inf.

It plays a role in robust fitting, see RobustShell, for medianizing the fit.

Huber( )

Constructor.

Improper Kernel.

  Using
  integral = inf
  fwhm = 4
  range = inf

result( x )
Return the result for input values.

Parameters

  • x : array-like
         input values

partial( x )
Return the partial derivative wrt the input values.

Parameters

  • x : array-like
         the input values

isBound( )

Return False

name( )

Return the name of the kernel

Methods inherited from Kernel