| PRTools contents | 
LKC
    W = LKC(A,KERNEL)
| Input | |
| A | Dataset | 
| KERNEL | Mapping to compute kernel by A*MAP(A,KERNEL) or string to compute kernel by FEVAL(KERNEL,A,A) or cell array with strings and parameters to compute kernel by | 
| FEVAL(KERNEL{1},A,A,KERNEL{2:END}) | Default: linear kernel (PROXM([],'P',1)) | 
| Output | |
| W | Mapping: Support Vector Classifier | 
This is a fall-back routine for other kernel procedures like SVC, RBSVC and LIBSVC. If they fail due to optimization problems they may fall back to this routine which computes a linear classifier in kernelspace using the pseudo-inverse of the kernel.
The kernel may be supplied in KERNEL by
If KERNEL = 0 it is assumed that A is already the kernel matrix (square). In this also a kernel matrix should be supplied at evaluation by B*W or MAP(B,W).
mappings, datasets, svc, proxm,
| PRTools contents |