The Kernel_SIGMOID class specifies a sigmoid kernel function: tanh(gamma*u'*v + coef0)
More...
#include <Kernel_SIGMOID.hh>
|
| Kernel_SIGMOID (double gamma=1., double coef0=0.) |
|
| ~Kernel_SIGMOID () |
|
void | clearCache () const |
|
double | coef0 () const |
|
double | gamma () const |
|
template<typename FV > |
double | k_function (const FV &x, const FV &y) const |
|
template<typename STDATA > |
void | loadParameters (STDATA &stData) |
|
template<typename STDATA > |
void | saveParameters (STDATA &stData) const |
|
void | setCoef0 (double coef0) |
|
void | setGamma (double gamma) |
|
template<typename ForwardIter , typename Accessor > |
void | updateCache (const ForwardIter &, const ForwardIter &, Accessor, ProgressReporter *) const |
|
template<typename ForwardIter1 , typename Accessor1 , typename ForwardIter2 , typename Accessor2 > |
void | updateCache (const ForwardIter1 &, const ForwardIter1 &, Accessor1, const ForwardIter2 &, const ForwardIter2 &, Accessor2, ProgressReporter *=0) const |
|
The Kernel_SIGMOID class specifies a sigmoid kernel function: tanh(gamma*u'*v + coef0)
Definition at line 118 of file Kernel_SIGMOID.hh.
◆ Kernel_SIGMOID()
svt::Kernel_SIGMOID::Kernel_SIGMOID |
( |
double |
gamma = 1. , |
|
|
double |
coef0 = 0. |
|
) |
| |
|
inline |
◆ ~Kernel_SIGMOID()
svt::Kernel_SIGMOID::~Kernel_SIGMOID |
( |
| ) |
|
|
inline |
◆ setGamma()
void svt::Kernel_SIGMOID::setGamma |
( |
double |
gamma | ) |
|
|
inline |
◆ setCoef0()
void svt::Kernel_SIGMOID::setCoef0 |
( |
double |
coef0 | ) |
|
|
inline |
◆ gamma()
double svt::Kernel_SIGMOID::gamma |
( |
| ) |
const |
|
inline |
◆ coef0()
double svt::Kernel_SIGMOID::coef0 |
( |
| ) |
const |
|
inline |
◆ updateCache() [1/2]
template<typename ForwardIter , typename Accessor >
void svt::Kernel_SIGMOID::updateCache |
( |
const ForwardIter & |
, |
|
|
const ForwardIter & |
, |
|
|
Accessor |
, |
|
|
ProgressReporter * |
|
|
) |
| const |
|
inline |
◆ updateCache() [2/2]
template<typename ForwardIter1 , typename Accessor1 , typename ForwardIter2 , typename Accessor2 >
void svt::Kernel_SIGMOID::updateCache |
( |
const ForwardIter1 & |
, |
|
|
const ForwardIter1 & |
, |
|
|
Accessor1 |
, |
|
|
const ForwardIter2 & |
, |
|
|
const ForwardIter2 & |
, |
|
|
Accessor2 |
, |
|
|
ProgressReporter * |
= 0 |
|
) |
| const |
|
inline |
◆ clearCache()
void svt::Kernel_SIGMOID::clearCache |
( |
| ) |
const |
|
inline |
◆ k_function()
template<typename FV >
double svt::Kernel_SIGMOID::k_function |
( |
const FV & |
x, |
|
|
const FV & |
y |
|
) |
| const |
|
inline |
◆ loadParameters()
template<typename STDATA >
void svt::Kernel_SIGMOID::loadParameters |
( |
STDATA & |
stData | ) |
|
|
inline |
◆ saveParameters()
template<typename STDATA >
void svt::Kernel_SIGMOID::saveParameters |
( |
STDATA & |
stData | ) |
const |
|
inline |
◆ name()
static const char* svt::Kernel_SIGMOID::name |
( |
| ) |
|
|
inlinestatic |
◆ description()
static const char* svt::Kernel_SIGMOID::description |
( |
| ) |
|
|
inlinestatic |
◆ getParamInfos()
static void svt::Kernel_SIGMOID::getParamInfos |
( |
std::vector< ParamInfo > & |
p | ) |
|
|
inlinestatic |
get information about the parameters, that are used in loadParameters() and saveParameters().
The Infos are appended to the passed array
- Parameters
-
p | array of ParamInfos. The Infos will be appended to this array |
Definition at line 208 of file Kernel_SIGMOID.hh.
◆ p_gamma
double svt::Kernel_SIGMOID::p_gamma |
|
protected |
◆ p_coef0
double svt::Kernel_SIGMOID::p_coef0 |
|
protected |
The documentation for this class was generated from the following file: