Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
6d623eeb
Commit
6d623eeb
authored
May 13, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refined the definition of a sequence segmentation problem.
parent
848c3015
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
svm.h
dlib/svm/svm.h
+1
-1
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
...
@@ -223,7 +223,7 @@ namespace dlib
if
(
end
>
samples
[
i
].
size
())
if
(
end
>
samples
[
i
].
size
())
return
false
;
return
false
;
if
(
begin
>
end
)
if
(
begin
>
=
end
)
return
false
;
return
false
;
// check for overlap
// check for overlap
...
...
dlib/svm/svm_abstract.h
View file @
6d623eeb
...
@@ -101,7 +101,7 @@ namespace dlib
...
@@ -101,7 +101,7 @@ namespace dlib
- We interpret segments[i][j] as defining a half open range
- We interpret segments[i][j] as defining a half open range
starting with segments[i][j].first and ending just before
starting with segments[i][j].first and ending just before
segments[i][j].second.
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()
- segments[i][j].second <= samples[i].size()
(i.e. Each segment must be contained within its associated sequence)
(i.e. Each segment must be contained within its associated sequence)
- segments[i][j] does not overlap with any of the other ranges in
- 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