mvpa2.kernels.libsvm.PolyLSKernel¶
-
class
mvpa2.kernels.libsvm.
PolyLSKernel
(**kwargs)¶ Polynomial kernel: K(a,b) = (gamma*a*b.T + coef0)**degree
Methods
as_ls
()as_raw_ls
()as_raw_np
()compute
(*args, **kwargs)Initialize instance of PolyLSKernel
Parameters: gamma :
Gamma multiplying parameter for Polynomial. [Default: 1]
degree :
Degree of polynomial. [Default: 2]
coef0 :
Offset inside polynomial. [Default: 1]
Methods
as_ls
()as_raw_ls
()as_raw_np
()compute
(*args, **kwargs)