JaakkolaHeuristic Class Reference

Jaakkola's heuristic and related quantities for Gaussian kernel selection. More...

#include <JaakkolaHeuristic.h>

List of all members.

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


Detailed Description

Jaakkola's heuristic and related quantities for Gaussian kernel selection.

Definition at line 50 of file JaakkolaHeuristic.h.


Constructor & Destructor Documentation

JaakkolaHeuristic::JaakkolaHeuristic ( const Array< double > &  input,
const Array< double > &  target 
)

Constructor.

Definition at line 44 of file JaakkolaHeuristic.cpp.

References i, and stat.

JaakkolaHeuristic::~JaakkolaHeuristic (  ) 

Destructor.

Definition at line 72 of file JaakkolaHeuristic.cpp.


Member Function Documentation

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.

References i, and stat.

Referenced by gamma().


Member Data Documentation

std::vector<double> JaakkolaHeuristic::stat [protected]

Definition at line 72 of file JaakkolaHeuristic.h.

Referenced by JaakkolaHeuristic(), and sigma().


The documentation for this class was generated from the following files: