#include <JaakkolaHeuristic.h>
Public Member Functions | |
| JaakkolaHeuristic (const Array< double > &input, const Array< double > &target) | |
| Constructor. | |
| ~JaakkolaHeuristic () | |
| Destructor. | |
| double | sigma (double quantile=0.5) |
| Compute the given quantile (usually the 0.5-quantile) of the empirical distribution of euklidean distances of data pairs with different labels. | |
| double | gamma (double quantile=0.5) |
| Compute the given quantile (usually the 0.5-quantile) of the empirical distribution of euklidean distances of data pairs with different labels converted into a value usable as the gamma parameter of the RBFKernel. | |
Protected Attributes | |
| std::vector< double > | stat |
Definition at line 50 of file JaakkolaHeuristic.h.
| JaakkolaHeuristic::JaakkolaHeuristic | ( | const Array< double > & | input, | |
| const Array< double > & | target | |||
| ) |
| JaakkolaHeuristic::~JaakkolaHeuristic | ( | ) |
| double JaakkolaHeuristic::gamma | ( | double | quantile = 0.5 |
) |
Compute the given quantile (usually the 0.5-quantile) of the empirical distribution of euklidean distances of data pairs with different labels converted into a value usable as the gamma parameter of the RBFKernel.
Definition at line 91 of file JaakkolaHeuristic.cpp.
References sigma().
| double JaakkolaHeuristic::sigma | ( | double | quantile = 0.5 |
) |
Compute the given quantile (usually the 0.5-quantile) of the empirical distribution of euklidean distances of data pairs with different labels.
Definition at line 77 of file JaakkolaHeuristic.cpp.
Referenced by gamma().
std::vector<double> JaakkolaHeuristic::stat [protected] |