Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
5f7e19b7
Commit
5f7e19b7
authored
Feb 28, 2022
by
Davis King
Browse files
remove cruft
parent
8928f477
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
dlib/svm/svm_c_trainer.h
dlib/svm/svm_c_trainer.h
+0
-3
dlib/svm/svm_nu_trainer.h
dlib/svm/svm_nu_trainer.h
+0
-3
No files found.
dlib/svm/svm_c_trainer.h
View file @
5f7e19b7
...
@@ -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
,
...
...
dlib/svm/svm_nu_trainer.h
View file @
5f7e19b7
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment