Custom Kernel defined by an arbitrary function
Examples
Basic linear kernel >>> k = CustomKernel(kernelfunc=lambda a,b: numpy.dot(a,b.T))
Initialize CustomKernel with an arbitrary function.
Parameters : | kernelfunc : function
enable_ca : None or list of str
disable_ca : None or list of str
|
---|