PyML :: containers :: ker :: Kernel :: Class Kernel
[frames] | no frames]

Class Kernel

source code

object --+
         |
        Kernel

base class for kernel objects

each kernel class defines an eval function: eval(self, datai, i, j, dataj = None) that evaluates the kernel between patterns i and j of dataset datai; if dataj is given then pattern j is assumed to come from dataset dataj

Instance Methods
 
__repr__(self)
repr(x)
source code
 
dump(self)
returns a string that can be used to construct an equivalent object
source code
 
constructionParams(self) source code
 
eval(self, datai, i, j, dataj=None)
evaluate the kernel function between patterns i and j of dataset datai; if dataj is given then pattern j is assumed to come from dataset dataj
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Class Variables
  type = 'kernel'
Properties

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)