API

Classes: SVEKER

SVEKER.ExplainingSVM([kernel_type, degree, ...])

Base class for SVMs with exact Shapley values

SVEKER.ExplainingSVC(*[, C, kernel_type, ...])

Class for SVC with exact Shapley values.

SVEKER.ExplainingSVR(*[, kernel_type, ...])

Class for SVR with exact Shapley values.

Kernel: SVEKER.kernels

SVEKER.kernels.BaseKernel(no_player_value)

Base Class for different kernels to be used.

SVEKER.kernels.TanimotoKernel([no_player_value])

Implements the Tanimoto Kernel

SVEKER.kernels.RBFKernel([no_player_value, ...])

Implements the RBF Kernel

SVEKER.kernels.PolynomialKernel([...])

Implements the Polynomial kernel

SVEKER.kernels.SigmoidKernel([...])

Implements the Sigmoid kernel

Utility Functions: SVEKER.utils Functions

SVEKER.utils.m_coeff(n_i, n_d, i, d)

Calculates the multinomial coefficient \(m_\mathrm{coeff}\)

SVEKER.utils.c_fplus(n_i, n_d, i, d)

Calculates the \(C_{f^+}\) factor.

SVEKER.utils.c_fminus(n_i, n_d, i, d)

Calculates the \(C_{f^-}\) factor