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
663a1b71
Commit
663a1b71
authored
Mar 03, 2019
by
Davis King
Browse files
Fixed more gcc 8 warnings.
parent
f9b7ad9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
dlib/cpp_tokenizer/cpp_tokenizer_kernel_1.h
dlib/cpp_tokenizer/cpp_tokenizer_kernel_1.h
+1
-1
dlib/svm/pegasos.h
dlib/svm/pegasos.h
+1
-0
No files found.
dlib/cpp_tokenizer/cpp_tokenizer_kernel_1.h
View file @
663a1b71
...
@@ -16,7 +16,7 @@ namespace dlib
...
@@ -16,7 +16,7 @@ namespace dlib
struct
token_text_pair
struct
token_text_pair
{
{
std
::
string
token
;
std
::
string
token
;
int
type
;
int
type
=
0
;
};
};
}
}
...
...
dlib/svm/pegasos.h
View file @
663a1b71
...
@@ -41,6 +41,7 @@ namespace dlib
...
@@ -41,6 +41,7 @@ namespace dlib
max_sv
(
40
),
max_sv
(
40
),
lambda_c1
(
0.0001
),
lambda_c1
(
0.0001
),
lambda_c2
(
0.0001
),
lambda_c2
(
0.0001
),
max_wnorm
(
100
),
tau
(
0.01
),
tau
(
0.01
),
tolerance
(
0.01
),
tolerance
(
0.01
),
train_count
(
0
),
train_count
(
0
),
...
...
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