ThunderSVM
ThunderSVM: An Open-Source SVM Library on GPUs and CPUs
Public Member Functions | Protected Member Functions | List of all members
CSMOSolver Class Reference

C-SMO solver for SVC, SVR and OneClassSVC. More...

#include <csmosolver.h>

Inheritance diagram for CSMOSolver:
NuSMOSolver

Public Member Functions

void solve (const KernelMatrix &k_mat, const SyncArray< int > &y, SyncArray< float_type > &alpha, float_type &rho, SyncArray< float_type > &f_val, float_type eps, float_type Cp, float_type Cn, int ws_size) const
 

Protected Member Functions

void init_f (const SyncArray< float_type > &alpha, const SyncArray< int > &y, const KernelMatrix &k_mat, SyncArray< float_type > &f_val) const
 
virtual void select_working_set (vector< int > &ws_indicator, const SyncArray< int > &f_idx2sort, const SyncArray< int > &y, const SyncArray< float_type > &alpha, float_type Cp, float_type Cn, SyncArray< int > &working_set) const
 
virtual float_type calculate_rho (const SyncArray< float_type > &f_val, const SyncArray< int > &y, SyncArray< float_type > &alpha, float_type Cp, float_type Cn) const
 
virtual void smo_kernel (const SyncArray< int > &y, SyncArray< float_type > &f_val, SyncArray< float_type > &alpha, SyncArray< float_type > &alpha_diff, const SyncArray< int > &working_set, float_type Cp, float_type Cn, const SyncArray< float_type > &k_mat_rows, const SyncArray< float_type > &k_mat_diag, int row_len, float_type eps, SyncArray< float_type > &diff, int max_iter) const
 

Detailed Description

C-SMO solver for SVC, SVR and OneClassSVC.


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