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
643bd6ba
Commit
643bd6ba
authored
May 23, 2011
by
Davis King
Browse files
Added a few more tests
parent
4ad6f586
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
dlib/test/svm_struct.cpp
dlib/test/svm_struct.cpp
+5
-0
No files found.
dlib/test/svm_struct.cpp
View file @
643bd6ba
...
...
@@ -561,6 +561,11 @@ namespace
DLIB_TEST
(
std
::
abs
(
obj1
-
obj3
)
<
1e-2
);
DLIB_TEST
(
std
::
abs
(
obj1
-
obj4
)
<
1e-2
);
DLIB_TEST
(
std
::
abs
(
obj1
-
obj5
)
<
1e-2
);
DLIB_TEST
(
std
::
abs
(
obj1
-
1.155
)
<
1e-2
);
DLIB_TEST
(
std
::
abs
(
obj2
-
1.155
)
<
1e-2
);
DLIB_TEST
(
std
::
abs
(
obj3
-
1.155
)
<
1e-2
);
DLIB_TEST
(
std
::
abs
(
obj4
-
1.155
)
<
1e-2
);
DLIB_TEST
(
std
::
abs
(
obj5
-
1.155
)
<
1e-2
);
dlog
<<
LINFO
<<
"weight error: "
<<
max
(
abs
(
df1
.
weights
-
df2
.
weights
));
dlog
<<
LINFO
<<
"weight error: "
<<
max
(
abs
(
df1
.
weights
-
df3
.
weights
));
...
...
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