90 for( std::vector<float>::const_iterator iter = params.begin(); iter != params.end()\
142 for (
UInt_t i = 0; i < v1->size(); i++) norm += ((*v1)[i] -(*v2)[i]) *((*v1)[i] -(*v2)[i]) ;
154 if(
fmGamma.size() != v1->size()){
155 std::cout <<
"Fewer gammas than input variables! #Gammas= " <<
fmGamma.size() <<
" #Input variables= " << v1->size() << std::endl;
156 std::cout <<
"***> abort program execution" << std::endl;
161 for (
UInt_t i = 0; i < v1->size(); i++) {
173 for (
UInt_t idx = 0; idx < v1->size(); idx++) prod += (*v1)[idx] * (*v2)[idx];
187 for (
UInt_t i = 0; i < v1->size(); i++) prod += (*v1)[i] * (*v2)[i];
198 for (
UInt_t i = 0; i < v1->size(); i++) prod += ((*v1)[i] -(*v2)[i]) *((*v1)[i] -(*v2)[i]) ;
void setCompatibilityParams(EKernelType k, UInt_t order, Float_t theta, Float_t kappa)
set old options for compatibility mode
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
std::vector< EKernelType > fKernelsList
~SVKernelFunction()
destructor
Event class for Support Vector Machine.
std::vector< Float_t > fmGamma
std::vector< Float_t > * GetDataVector()
Float_t Evaluate(SVEvent *ev1, SVEvent *ev2)
SVKernelFunction()
constructor