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
6d623eeb
Commit
6d623eeb
authored
May 13, 2013
by
Davis King
Browse files
Refined the definition of a sequence segmentation problem.
parent
848c3015
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dlib/svm/svm.h
dlib/svm/svm.h
+1
-1
dlib/svm/svm_abstract.h
dlib/svm/svm_abstract.h
+1
-1
No files found.
dlib/svm/svm.h
View file @
6d623eeb
...
...
@@ -223,7 +223,7 @@ namespace dlib
if
(
end
>
samples
[
i
].
size
())
return
false
;
if
(
begin
>
end
)
if
(
begin
>
=
end
)
return
false
;
// check for overlap
...
...
dlib/svm/svm_abstract.h
View file @
6d623eeb
...
...
@@ -101,7 +101,7 @@ namespace dlib
- We interpret segments[i][j] as defining a half open range
starting with segments[i][j].first and ending just before
segments[i][j].second.
- segments[i][j].first <
=
segments[i][j].second
- segments[i][j].first < segments[i][j].second
- segments[i][j].second <= samples[i].size()
(i.e. Each segment must be contained within its associated sequence)
- segments[i][j] does not overlap with any of the other ranges in
...
...
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