diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/index.rst | 8 | ||||
| -rw-r--r-- | docs/kernels.rst | 22 |
2 files changed, 30 insertions, 0 deletions
diff --git a/docs/index.rst b/docs/index.rst index 7a28f0e..6064b56 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -20,4 +20,12 @@ GenSVMGridSearchCV .. include:: ./cls_gridsearch.rst +Functions +--------- + +.. autofunction:: gensvm.gridsearch.load_default_grid + +.. include:: ./kernels.rst + .. include:: ../CHANGELOG.rst + diff --git a/docs/kernels.rst b/docs/kernels.rst new file mode 100644 index 0000000..479b6c0 --- /dev/null +++ b/docs/kernels.rst @@ -0,0 +1,22 @@ +Kernels in GenSVM +----------------- + +Kernels in GenSVM are implemented as follows. + +- Radial Basis Function (RBF): + +.. math:: + + k(x_1, x_2) = \exp(-\gamma \| x_1 - x_2 \|^2 ) + +- Polynomial: + +.. math:: + + k(x_1, x_2) = (\gamma x_1'x_2 + coef)^{degree} + +- Sigmoid: + +.. math:: + + k(x_1, x_2) = \tanh(\gamma x_1'x_2 + coef) |
