#include <shark/Algorithms/QP/SvmProblems.h>
|
| HMGSelectionCriterion () |
|
template<class Problem > |
double | operator() (Problem &problem, std::size_t &i, std::size_t &j) |
| Select a working set according to the hybrid maximum gain (HMG) algorithm. More...
|
|
void | reset () |
|
Definition at line 158 of file SvmProblems.h.
◆ HMGSelectionCriterion()
shark::HMGSelectionCriterion::HMGSelectionCriterion |
( |
| ) |
|
|
inline |
◆ operator()()
template<class Problem >
double shark::HMGSelectionCriterion::operator() |
( |
Problem & |
problem, |
|
|
std::size_t & |
i, |
|
|
std::size_t & |
j |
|
) |
| |
|
inline |
Select a working set according to the hybrid maximum gain (HMG) algorithm.
- Returns
- maximal KKT vioation
- Parameters
-
problem | the svm problem to select the working set for |
i | first working set component |
j | second working set component |
Definition at line 169 of file SvmProblems.h.
References shark::sqr(), and shark::swap().
◆ reset()
void shark::HMGSelectionCriterion::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: