API Reference

A tutorial-like demo is available at Usage.

Roughly, this library consists of following set of classes and methods:

Exceptions

class kernelmethods.KernelMethodsException[source]

Bases: Exception

Generic exception to indicate invalid use of the kernelmethods library.

Allows to distinguish improper use of KernelMatrix from other code exceptions

class kernelmethods.KMAccessError[source]

Bases: kernelmethods.config.KernelMethodsException

Exception to indicate invalid access to the kernel matrix elements!

class kernelmethods.KMNormError[source]

Bases: kernelmethods.config.KernelMethodsException

Custom exception to indicate error during normalization of kernel matrix

class kernelmethods.KMSetAdditionError[source]

Bases: kernelmethods.config.KernelMethodsException

Exception to indicate invalid addition of kernel matrix to a KernelSet