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
253745d2
Commit
253745d2
authored
Apr 19, 2020
by
Davis King
Browse files
fix typo in comment
parent
a2e45f00
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/statistics/lda.h
dlib/statistics/lda.h
+1
-1
No files found.
dlib/statistics/lda.h
View file @
253745d2
...
...
@@ -157,7 +157,7 @@ namespace dlib
std
::
vector
<
std
::
pair
<
double
,
int
>
>
temp
;
temp
.
reserve
(
true_detections
.
size
()
+
false_detections
.
size
());
// We use -1 for true labels and +1 for false so when we call std::sort() below it will sort
// runs with equal detection scores so
tru
e come first. This will avoid it seeming like we
// runs with equal detection scores so
fals
e come first. This will avoid it seeming like we
// can separate true from false when scores are equal in the loop below.
const
int
true_label
=
-
1
;
const
int
false_label
=
+
1
;
...
...
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