mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
remove cruft
This commit is contained in:
parent
8928f477de
commit
5f7e19b785
@ -3,8 +3,6 @@
|
||||
#ifndef DLIB_SVm_C_TRAINER_Hh_
|
||||
#define DLIB_SVm_C_TRAINER_Hh_
|
||||
|
||||
//#include "local/make_label_kernel_matrix.h"
|
||||
|
||||
#include "svm_c_trainer_abstract.h"
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
@ -226,7 +224,6 @@ namespace dlib
|
||||
solve_qp3_using_smo<scalar_vector_type> solver;
|
||||
|
||||
solver(symmetric_matrix_cache<float>((diagm(y)*kernel_matrix(kernel_function,x)*diagm(y)), cache_size),
|
||||
//solver(symmetric_matrix_cache<float>(make_label_kernel_matrix(kernel_matrix(kernel_function,x),y), cache_size),
|
||||
uniform_matrix<scalar_type>(y.size(),1,-1),
|
||||
y,
|
||||
0,
|
||||
|
@ -3,8 +3,6 @@
|
||||
#ifndef DLIB_SVm_NU_TRAINER_Hh_
|
||||
#define DLIB_SVm_NU_TRAINER_Hh_
|
||||
|
||||
//#include "local/make_label_kernel_matrix.h"
|
||||
|
||||
#include "svm_nu_trainer_abstract.h"
|
||||
#include <cmath>
|
||||
#include <limits>
|
||||
@ -185,7 +183,6 @@ namespace dlib
|
||||
solve_qp2_using_smo<scalar_vector_type> solver;
|
||||
|
||||
solver(symmetric_matrix_cache<float>((diagm(y)*kernel_matrix(kernel_function,x)*diagm(y)), cache_size),
|
||||
//solver(symmetric_matrix_cache<float>(make_label_kernel_matrix(kernel_matrix(kernel_function,x),y), cache_size),
|
||||
y,
|
||||
nu,
|
||||
alpha,
|
||||
|
Loading…
Reference in New Issue
Block a user