remove cruft

This commit is contained in:
Davis King 2022-02-28 07:49:23 -05:00
parent 8928f477de
commit 5f7e19b785
2 changed files with 0 additions and 6 deletions

View File

@ -3,8 +3,6 @@
#ifndef DLIB_SVm_C_TRAINER_Hh_ #ifndef DLIB_SVm_C_TRAINER_Hh_
#define 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 "svm_c_trainer_abstract.h"
#include <cmath> #include <cmath>
#include <limits> #include <limits>
@ -226,7 +224,6 @@ namespace dlib
solve_qp3_using_smo<scalar_vector_type> solver; 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>((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), uniform_matrix<scalar_type>(y.size(),1,-1),
y, y,
0, 0,

View File

@ -3,8 +3,6 @@
#ifndef DLIB_SVm_NU_TRAINER_Hh_ #ifndef DLIB_SVm_NU_TRAINER_Hh_
#define 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 "svm_nu_trainer_abstract.h"
#include <cmath> #include <cmath>
#include <limits> #include <limits>
@ -185,7 +183,6 @@ namespace dlib
solve_qp2_using_smo<scalar_vector_type> solver; 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>((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, y,
nu, nu,
alpha, alpha,