Commit 5f7e19b7 authored by Davis King's avatar Davis King
Browse files

remove cruft

parent 8928f477
...@@ -3,8 +3,6 @@ ...@@ -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 ...@@ -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,
......
...@@ -3,8 +3,6 @@ ...@@ -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 ...@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment