mvpa2.kernels.np.NumpyKernel

Inheritance diagram of NumpyKernel

class mvpa2.kernels.np.NumpyKernel(*args, **kwargs)

A Kernel object with internal representation as a 2d numpy array

Methods

Base Kernel class has no parameters

Methods

as_np()

Converts this kernel to a Numpy-based representation

as_raw_np()

Directly return this kernel as a numpy array.

For Numpy-based kernels - simply returns stored matrix.