Documentaton - GENERICS - KERNEL_FUNCTION

[KFUNC, NFUNC] = KERNEL_FUNCTION(KERNEL, NORMALIZE) returns the kernel KFUNC and normalization function NFUNC for two string inputs.

Possible values for normalize

{'none', 'l1', 'l2', 'linf'}

Possible values for kernel

{'l1', 'chi2', 'hell', 'dl2', 'dl1', 'dchi2', 'dhell'}