svm.cpp File Reference

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <float.h>
#include <string.h>
#include <stdarg.h>
#include <locale.h>
#include "svm.h"

Include dependency graph for svm.cpp:

Include dependency graph

Go to the source code of this file.

Namespaces

namespace  celeste

Classes

class  celeste::Cache
struct  celeste::Cache::head_t
class  celeste::QMatrix
class  celeste::Kernel
class  celeste::Solver
struct  celeste::Solver::SolutionInfo
class  celeste::Solver_NU
class  celeste::SVC_Q
class  celeste::ONE_CLASS_Q
class  celeste::SVR_Q
struct  celeste::decision_function
struct  celeste::svm_model

Defines

#define INF   HUGE_VAL
#define TAU   1e-12
#define Malloc(type, n)   (type *)malloc((n)*sizeof(type))

Typedefs

typedef float Qfloat
typedef signed char schar

Functions

template<class T>
min (T x, T y)
template<class T>
max (T x, T y)
template<class T>
void swap (T &x, T &y)
template<class S, class T>
void clone (T *&dst, S *src, int n)
double powi (double base, int times)
void info (const char *fmt,...)
void info_flush ()
void solve_c_svc (const svm_problem *prob, const svm_parameter *param, double *alpha, Solver::SolutionInfo *si, double Cp, double Cn)
void solve_nu_svc (const svm_problem *prob, const svm_parameter *param, double *alpha, Solver::SolutionInfo *si)
void solve_one_class (const svm_problem *prob, const svm_parameter *param, double *alpha, Solver::SolutionInfo *si)
void solve_epsilon_svr (const svm_problem *prob, const svm_parameter *param, double *alpha, Solver::SolutionInfo *si)
void solve_nu_svr (const svm_problem *prob, const svm_parameter *param, double *alpha, Solver::SolutionInfo *si)
decision_function svm_train_one (const svm_problem *prob, const svm_parameter *param, double Cp, double Cn)
void sigmoid_train (int l, const double *dec_values, const double *labels, double &A, double &B)
double sigmoid_predict (double decision_value, double A, double B)
void multiclass_probability (int k, double **r, double *p)
void svm_binary_svc_probability (const svm_problem *prob, const svm_parameter *param, double Cp, double Cn, double &probA, double &probB)
double svm_svr_probability (const svm_problem *prob, const svm_parameter *param)
void svm_group_classes (const svm_problem *prob, int *nr_class_ret, int **label_ret, int **start_ret, int **count_ret, int *perm)
svm_model * svm_train (const svm_problem *prob, const svm_parameter *param)
void svm_cross_validation (const svm_problem *prob, const svm_parameter *param, int nr_fold, double *target)
int svm_get_svm_type (const svm_model *model)
int svm_get_nr_class (const svm_model *model)
void svm_get_labels (const svm_model *model, int *label)
double svm_get_svr_probability (const svm_model *model)
void svm_predict_values (const svm_model *model, const svm_node *x, double *dec_values)
double svm_predict (const svm_model *model, const svm_node *x)
double svm_predict_probability (const svm_model *model, const svm_node *x, double *prob_estimates)
int svm_save_model (const char *model_file_name, const svm_model *model)
svm_model * svm_load_model (const char *model_file_name)
void svm_destroy_model (svm_model *model)
void svm_destroy_param (svm_parameter *param)
const char * svm_check_parameter (const svm_problem *prob, const svm_parameter *param)
int svm_check_probability_model (const svm_model *model)

Variables

const char * svm_type_table []
const char * kernel_type_table []


Define Documentation

#define INF   HUGE_VAL
 

Definition at line 73 of file svm.cpp.

#define Malloc type,
 )     (type *)malloc((n)*sizeof(type))
 

Definition at line 75 of file svm.cpp.

Referenced by celeste::multiclass_probability(), celeste::sigmoid_train(), celeste::svm_binary_svc_probability(), celeste::svm_check_parameter(), celeste::svm_cross_validation(), celeste::svm_group_classes(), celeste::svm_load_model(), celeste::svm_predict(), celeste::svm_predict_probability(), celeste::svm_predict_values(), celeste::svm_svr_probability(), celeste::svm_train(), and celeste::svm_train_one().

#define TAU   1e-12
 

Definition at line 74 of file svm.cpp.


Typedef Documentation

typedef float celeste::Qfloat
 

Definition at line 48 of file svm.cpp.

Referenced by celeste::Cache::get_data(), celeste::SVR_Q::get_Q(), celeste::ONE_CLASS_Q::get_Q(), celeste::SVC_Q::get_Q(), celeste::SVR_Q::get_QD(), celeste::ONE_CLASS_Q::get_QD(), celeste::SVC_Q::get_QD(), celeste::ONE_CLASS_Q::ONE_CLASS_Q(), celeste::Solver::reconstruct_gradient(), celeste::Solver_NU::select_working_set(), celeste::Solver::select_working_set(), celeste::Solver::Solve(), celeste::SVC_Q::SVC_Q(), and celeste::SVR_Q::SVR_Q().

typedef signed char celeste::schar
 

Definition at line 49 of file svm.cpp.

Referenced by celeste::SVR_Q::get_Q(), celeste::solve_c_svc(), celeste::solve_epsilon_svr(), celeste::solve_nu_svc(), celeste::solve_nu_svr(), celeste::solve_one_class(), and celeste::SVR_Q::SVR_Q().


Function Documentation

template<class S, class T>
void clone T *&  dst,
S *  src,
int  n
[inline]
 

Definition at line 57 of file svm.cpp.

Referenced by celeste::Kernel::Kernel(), celeste::Solver::Solve(), and celeste::SVC_Q::SVC_Q().

void info const char *  fmt,
  ...
 

Definition at line 77 of file svm.cpp.

Referenced by getPTLensCoef(), HuginBase::Nona::FileRemapper< ImageType, AlphaType >::getRemapped(), HuginBase::SrcPanoImage::isInside(), loadAndConvertImage(), HuginBase::ImageCache::loadImageSafely(), loadImagesPyr(), PT::loadImagesPyr(), main(), mergeWeightedAverage(), celeste::multiclass_probability(), PT::wxAddImagesCmd::processPanorama(), celeste::sigmoid_train(), celeste::Solver::Solve(), celeste::solve_c_svc(), celeste::solve_epsilon_svr(), celeste::solve_nu_svc(), celeste::solve_nu_svr(), HuginBase::Nona::stitchPanorama(), celeste::svm_get_svr_probability(), celeste::svm_svr_probability(), celeste::svm_train(), and celeste::svm_train_one().

void info_flush  ) 
 

Definition at line 84 of file svm.cpp.

Referenced by celeste::Solver::Solve().

template<class T>
T max x,
y
[inline]
 

Definition at line 54 of file svm.cpp.

Referenced by HuginLines::_getVerticalLines(), HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >::apply(), vigra_ext::InvLUTFunctor< VT1, LUT >::applyLutInteger(), vigra_ext::LUTFunctor< VTInCompReal, LUTD >::applyLutInteger(), celeste::Cache::Cache(), celeste::Solver_NU::calculate_rho(), celeste::Solver::calculate_rho(), HuginLines::ccdist(), HuginBase::Panorama::centerCropImage(), KDTreeSpace::KDTree< KE, VTYPE >::choosePivot(), createCtrlPoints(), createCtrlPointsOld(), vigra_ext::EMoR::createEMoRLUT(), vigra_ext::createGammaLUT(), KDTreeSpace::HyperRectangle< KE, TYPE >::display(), celeste::Solver_NU::do_shrinking(), HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >::emitGLSL(), HuginBase::Nona::estScaleFactorForFullFrame(), PanoDetector::FilterMatchesInPair(), vigra_ext::getMaxComponent(), PossiblePano::GetMaxExposureDifference(), vigra_ext::getMinComponent(), hugin_utils::getPathPrefix(), HuginBase::Nona::FileRemapper< ImageType, AlphaType >::getRemapped(), HuginBase::Photometric::InvResponseTransform< VTIn, VTOut >::hdrWeight(), HuginBase::ImageCache::importAndConvertAlphaImage(), HuginBase::ImageCache::importAndConvertImage(), HuginBase::Photometric::ResponseTransform< VTIn >::initWithSrcImg(), PanoDetector::LoadKeypoints(), PanoDetector::loadProject(), celeste::multiclass_probability(), vigra_ext::normalizeValue(), vigra_ext::ReduceToHDRFunctor< VALUETYPE >::operator()(), wxTreeListMainWindow::PaintItem(), wxTreeListMainWindow::PaintLevel(), KDTreeSpace::KDTree< KE, VTYPE >::recurseNearestNeighboursBBF(), enblend::reduce(), reduceFilesToHDR(), vigra_ext::reduceROIImages(), HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::remapImage(), celeste::Solver_NU::select_working_set(), MaskImageCtrl::SelectPointsInsideMouseRect(), GreatCircleArc::squareDistance(), HuginBase::Nona::ReduceStitcher< ImageType, AlphaType >::stitch(), hugin_utils::stripPath(), celeste::svm_predict_probability(), HuginBase::Nona::traceImageOutline(), PreviewPanel::updatePreview(), celeste::PGMImage::Write(), and celeste::PGMImage::WriteScaled().

template<class T>
T min x,
y
[inline]
 

Definition at line 51 of file svm.cpp.

Referenced by HuginLines::_getVerticalLines(), celeste::Solver_NU::calculate_rho(), celeste::Solver::calculate_rho(), HuginBase::Photometric::ResponseTransform< VTIn >::calcVigFactor(), HuginLines::ccdist(), CPEvent::CPEvent(), ProjectionGridTool::createTexture(), DisplayedControlPoint::DrawLineSegment(), PreviewPanel::DrawPreview(), DisplayedControlPoint::DrawTextMag(), HuginBase::estimateImageAlpha(), HuginBase::CalculateFitPanorama::fitPano(), celeste::getCelesteMask(), PossiblePano::GetMaxExposureDifference(), main(), optGetError(), MaskLoadDialog::ProcessMask(), reduceFilesToHDR(), HuginBase::Nona::RemappedPanoImage< RemapImage, AlphaImage >::remapImage(), MaskImageCtrl::SelectPointsInsideMouseRect(), HuginBase::PanoramaOptions::setHFOV(), HuginBase::PanoramaOptions::setVFOV(), celeste::Solver::Solve(), celeste::solve_nu_svc(), celeste::solve_nu_svr(), celeste::svm_check_parameter(), celeste::svm_predict_probability(), HuginBase::Nona::traceImageOutline(), celeste::PGMImage::Write(), and celeste::PGMImage::WriteScaled().

void multiclass_probability int  k,
double **  r,
double *  p
 

Definition at line 1882 of file svm.cpp.

References celeste::info(), Malloc, and celeste::max().

Referenced by celeste::svm_predict_probability().

double powi double  base,
int  times
[inline]
 

Definition at line 62 of file svm.cpp.

Referenced by celeste::Kernel::k_function(), and celeste::Kernel::kernel_poly().

double sigmoid_predict double  decision_value,
double  A,
double  B
 

Definition at line 1872 of file svm.cpp.

Referenced by celeste::svm_predict_probability().

void sigmoid_train int  l,
const double *  dec_values,
const double *  labels,
double &  A,
double &  B
 

Definition at line 1759 of file svm.cpp.

References celeste::info(), vigra_ext::log(), and Malloc.

Referenced by celeste::svm_binary_svc_probability().

void solve_c_svc const svm_problem *  prob,
const svm_parameter *  param,
double *  alpha,
Solver::SolutionInfo *  si,
double  Cp,
double  Cn
[static]
 

Definition at line 1470 of file svm.cpp.

References celeste::svm_parameter::eps, celeste::info(), celeste::svm_problem::l, celeste::schar, celeste::svm_parameter::shrinking, celeste::Solver::Solve(), and celeste::svm_problem::y.

Referenced by celeste::svm_train_one().

void solve_epsilon_svr const svm_problem *  prob,
const svm_parameter *  param,
double *  alpha,
Solver::SolutionInfo *  si
[static]
 

Definition at line 1592 of file svm.cpp.

References celeste::svm_parameter::C, celeste::svm_parameter::eps, celeste::info(), celeste::svm_problem::l, celeste::svm_parameter::p, celeste::schar, celeste::svm_parameter::shrinking, celeste::Solver::Solve(), and celeste::svm_problem::y.

Referenced by celeste::svm_train_one().

void solve_nu_svc const svm_problem *  prob,
const svm_parameter *  param,
double *  alpha,
Solver::SolutionInfo *  si
[static]
 

Definition at line 1505 of file svm.cpp.

References celeste::svm_parameter::eps, celeste::info(), celeste::svm_problem::l, celeste::min(), celeste::svm_parameter::nu, celeste::Solver::SolutionInfo::obj, celeste::Solver::SolutionInfo::r, celeste::Solver::SolutionInfo::rho, celeste::schar, celeste::svm_parameter::shrinking, celeste::Solver_NU::Solve(), celeste::Solver::SolutionInfo::upper_bound_n, celeste::Solver::SolutionInfo::upper_bound_p, and celeste::svm_problem::y.

Referenced by celeste::svm_train_one().

void solve_nu_svr const svm_problem *  prob,
const svm_parameter *  param,
double *  alpha,
Solver::SolutionInfo *  si
[static]
 

Definition at line 1630 of file svm.cpp.

References celeste::svm_parameter::C, celeste::svm_parameter::eps, celeste::info(), celeste::svm_problem::l, celeste::min(), celeste::svm_parameter::nu, celeste::Solver::SolutionInfo::r, celeste::schar, celeste::svm_parameter::shrinking, celeste::Solver_NU::Solve(), and celeste::svm_problem::y.

Referenced by celeste::svm_train_one().

void solve_one_class const svm_problem *  prob,
const svm_parameter *  param,
double *  alpha,
Solver::SolutionInfo *  si
[static]
 

Definition at line 1560 of file svm.cpp.

References celeste::svm_parameter::eps, celeste::svm_problem::l, celeste::svm_parameter::nu, celeste::schar, celeste::svm_parameter::shrinking, and celeste::Solver::Solve().

Referenced by celeste::svm_train_one().

void svm_binary_svc_probability const svm_problem *  prob,
const svm_parameter *  param,
double  Cp,
double  Cn,
double &  probA,
double &  probB
 

Definition at line 1946 of file svm.cpp.

References celeste::svm_parameter::C, celeste::svm_problem::l, celeste::svm_model::label, Malloc, celeste::svm_parameter::nr_weight, celeste::svm_parameter::probability, celeste::sigmoid_train(), celeste::svm_destroy_model(), celeste::svm_destroy_param(), celeste::svm_predict_values(), celeste::svm_train(), celeste::swap(), celeste::svm_parameter::weight, celeste::svm_parameter::weight_label, celeste::svm_problem::x, and celeste::svm_problem::y.

Referenced by celeste::svm_train().

const char* svm_check_parameter const svm_problem *  prob,
const svm_parameter *  param
 

Definition at line 2977 of file svm.cpp.

References celeste::svm_parameter::C, celeste::C_SVC, celeste::svm_parameter::cache_size, celeste::svm_parameter::degree, celeste::svm_parameter::eps, celeste::EPSILON_SVR, celeste::svm_parameter::kernel_type, celeste::svm_problem::l, celeste::LINEAR, Malloc, celeste::min(), celeste::svm_parameter::nu, celeste::NU_SVC, celeste::ONE_CLASS, celeste::svm_parameter::p, celeste::POLY, celeste::svm_parameter::probability, celeste::RBF, celeste::svm_parameter::shrinking, celeste::SIGMOID, celeste::svm_parameter::svm_type, and celeste::svm_problem::y.

int svm_check_probability_model const svm_model *  model  ) 
 

Definition at line 3095 of file svm.cpp.

References celeste::C_SVC, celeste::EPSILON_SVR, celeste::svm_model::param, celeste::svm_model::probA, celeste::svm_model::probB, and celeste::svm_parameter::svm_type.

void svm_cross_validation const svm_problem *  prob,
const svm_parameter *  param,
int  nr_fold,
double *  target
 

Definition at line 2364 of file svm.cpp.

References celeste::C_SVC, celeste::svm_problem::l, Malloc, celeste::svm_parameter::probability, celeste::svm_destroy_model(), celeste::svm_get_nr_class(), celeste::svm_group_classes(), celeste::svm_predict(), celeste::svm_predict_probability(), celeste::svm_train(), celeste::svm_parameter::svm_type, celeste::swap(), celeste::svm_problem::x, and celeste::svm_problem::y.

Referenced by celeste::svm_svr_probability().

void svm_destroy_model svm_model *  model  ) 
 

Definition at line 2955 of file svm.cpp.

References celeste::svm_model::free_sv, celeste::svm_model::l, celeste::svm_model::label, celeste::svm_model::nr_class, celeste::svm_model::nSV, celeste::svm_model::probA, celeste::svm_model::probB, celeste::svm_model::rho, celeste::svm_model::SV, and celeste::svm_model::sv_coef.

Referenced by celeste::svm_binary_svc_probability(), and celeste::svm_cross_validation().

void svm_destroy_param svm_parameter *  param  ) 
 

Definition at line 2971 of file svm.cpp.

References celeste::svm_parameter::weight, and celeste::svm_parameter::weight_label.

Referenced by celeste::svm_binary_svc_probability().

void svm_get_labels const svm_model *  model,
int *  label
 

Definition at line 2490 of file svm.cpp.

References celeste::svm_model::label, and celeste::svm_model::nr_class.

int svm_get_nr_class const svm_model *  model  ) 
 

Definition at line 2485 of file svm.cpp.

References celeste::svm_model::nr_class.

Referenced by celeste::svm_cross_validation().

int svm_get_svm_type const svm_model *  model  ) 
 

Definition at line 2480 of file svm.cpp.

References celeste::svm_model::param, and celeste::svm_parameter::svm_type.

double svm_get_svr_probability const svm_model *  model  ) 
 

Definition at line 2497 of file svm.cpp.

References celeste::EPSILON_SVR, celeste::info(), celeste::svm_model::param, celeste::svm_model::probA, and celeste::svm_parameter::svm_type.

void svm_group_classes const svm_problem *  prob,
int *  nr_class_ret,
int **  label_ret,
int **  start_ret,
int **  count_ret,
int *  perm
 

Definition at line 2067 of file svm.cpp.

References celeste::svm_problem::l, Malloc, and celeste::svm_problem::y.

Referenced by celeste::svm_cross_validation(), and celeste::svm_train().

struct svm_model * celeste::svm_load_model const char *  model_file_name  ) 
 

Definition at line 2751 of file svm.cpp.

References celeste::svm_parameter::coef0, celeste::svm_parameter::degree, celeste::svm_model::free_sv, celeste::svm_parameter::gamma, celeste::svm_node::index, celeste::svm_parameter::kernel_type, celeste::kernel_type_table, celeste::svm_model::l, celeste::svm_model::label, Malloc, celeste::svm_model::nr_class, celeste::svm_model::nSV, out, celeste::svm_model::param, celeste::svm_model::probA, celeste::svm_model::probB, celeste::svm_model::rho, celeste::svm_model::SV, celeste::svm_model::sv_coef, celeste::svm_parameter::svm_type, and celeste::svm_type_table.

Referenced by celeste::loadSVMmodel().

double svm_predict const svm_model *  model,
const svm_node *  x
 

Definition at line 2564 of file svm.cpp.

References celeste::EPSILON_SVR, celeste::svm_model::label, Malloc, celeste::svm_model::nr_class, celeste::ONE_CLASS, celeste::svm_model::param, celeste::svm_predict_values(), and celeste::svm_parameter::svm_type.

Referenced by celeste::svm_cross_validation(), and celeste::svm_predict_probability().

double svm_predict_probability const svm_model *  model,
const svm_node *  x,
double *  prob_estimates
 

Definition at line 2608 of file svm.cpp.

References celeste::C_SVC, celeste::svm_model::label, Malloc, celeste::max(), celeste::min(), celeste::multiclass_probability(), celeste::svm_model::nr_class, celeste::svm_model::param, celeste::svm_model::probA, celeste::svm_model::probB, celeste::sigmoid_predict(), celeste::svm_predict(), celeste::svm_predict_values(), and celeste::svm_parameter::svm_type.

Referenced by celeste::svm_cross_validation().

void svm_predict_values const svm_model *  model,
const svm_node *  x,
double *  dec_values
 

Definition at line 2509 of file svm.cpp.

References celeste::EPSILON_SVR, celeste::svm_model::l, Malloc, celeste::svm_model::nr_class, celeste::svm_model::nSV, celeste::ONE_CLASS, celeste::svm_model::param, celeste::svm_model::rho, celeste::svm_model::SV, celeste::svm_model::sv_coef, and celeste::svm_parameter::svm_type.

Referenced by celeste::svm_binary_svc_probability(), celeste::svm_predict(), and celeste::svm_predict_probability().

int svm_save_model const char *  model_file_name,
const svm_model *  model
 

Definition at line 2657 of file svm.cpp.

References celeste::svm_parameter::coef0, celeste::svm_parameter::degree, celeste::svm_parameter::gamma, celeste::svm_node::index, celeste::svm_parameter::kernel_type, celeste::kernel_type_table, celeste::svm_model::l, celeste::svm_model::label, celeste::svm_model::nr_class, celeste::svm_model::nSV, celeste::svm_model::param, celeste::POLY, celeste::svm_model::probA, celeste::svm_model::probB, celeste::RBF, celeste::svm_model::rho, celeste::svm_model::SV, celeste::svm_model::sv_coef, celeste::svm_parameter::svm_type, celeste::svm_type_table, and celeste::svm_node::value.

double svm_svr_probability const svm_problem *  prob,
const svm_parameter *  param
 

Definition at line 2033 of file svm.cpp.

References celeste::info(), celeste::svm_problem::l, Malloc, celeste::svm_parameter::probability, celeste::svm_cross_validation(), and celeste::svm_problem::y.

Referenced by celeste::svm_train().

svm_model* svm_train const svm_problem *  prob,
const svm_parameter *  param
 

Definition at line 2127 of file svm.cpp.

References celeste::decision_function::alpha, celeste::svm_parameter::C, celeste::EPSILON_SVR, celeste::svm_model::free_sv, celeste::info(), celeste::svm_model::l, celeste::svm_problem::l, celeste::svm_model::label, Malloc, celeste::svm_model::nr_class, celeste::svm_parameter::nr_weight, celeste::svm_model::nSV, celeste::ONE_CLASS, celeste::svm_model::param, celeste::svm_model::probA, celeste::svm_parameter::probability, celeste::svm_model::probB, celeste::decision_function::rho, celeste::svm_model::rho, celeste::svm_model::SV, celeste::svm_model::sv_coef, celeste::svm_binary_svc_probability(), celeste::svm_group_classes(), celeste::svm_svr_probability(), celeste::svm_train_one(), celeste::svm_parameter::svm_type, celeste::svm_parameter::weight, celeste::svm_parameter::weight_label, celeste::svm_problem::x, and celeste::svm_problem::y.

Referenced by celeste::svm_binary_svc_probability(), and celeste::svm_cross_validation().

decision_function svm_train_one const svm_problem *  prob,
const svm_parameter *  param,
double  Cp,
double  Cn
 

Definition at line 1677 of file svm.cpp.

References celeste::decision_function::alpha, celeste::C_SVC, celeste::EPSILON_SVR, celeste::info(), celeste::svm_problem::l, Malloc, celeste::NU_SVC, celeste::NU_SVR, celeste::Solver::SolutionInfo::obj, celeste::ONE_CLASS, celeste::decision_function::rho, celeste::Solver::SolutionInfo::rho, celeste::solve_c_svc(), celeste::solve_epsilon_svr(), celeste::solve_nu_svc(), celeste::solve_nu_svr(), celeste::solve_one_class(), celeste::svm_parameter::svm_type, celeste::Solver::SolutionInfo::upper_bound_n, celeste::Solver::SolutionInfo::upper_bound_p, and celeste::svm_problem::y.

Referenced by celeste::svm_train().

template<class T>
void swap T &  x,
T &  y
[inline]
 

Definition at line 56 of file svm.cpp.

Referenced by drawLine(), celeste::Cache::get_data(), celeste::svm_binary_svc_probability(), celeste::svm_cross_validation(), celeste::SVR_Q::swap_index(), celeste::ONE_CLASS_Q::swap_index(), celeste::SVC_Q::swap_index(), celeste::Solver::swap_index(), celeste::Kernel::swap_index(), and celeste::Cache::swap_index().


Variable Documentation

const char* celeste::kernel_type_table[]
 

Initial value:

{
        "linear","polynomial","rbf","sigmoid","precomputed",NULL
}

Definition at line 2652 of file svm.cpp.

Referenced by celeste::svm_load_model(), and celeste::svm_save_model().

const char* celeste::svm_type_table[]
 

Initial value:

{
        "c_svc","nu_svc","one_class","epsilon_svr","nu_svr",NULL
}

Definition at line 2647 of file svm.cpp.

Referenced by celeste::svm_load_model(), and celeste::svm_save_model().


Generated on Thu Apr 17 01:25:42 2014 for Hugintrunk by  doxygen 1.3.9.1