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
bda08953
Commit
bda08953
authored
May 18, 2013
by
Davis King
Browse files
Fixed some typos
parent
66530f86
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
dlib/svm/sequence_segmenter_abstract.h
dlib/svm/sequence_segmenter_abstract.h
+5
-3
No files found.
dlib/svm/sequence_segmenter_abstract.h
View file @
bda08953
...
...
@@ -49,7 +49,7 @@ namespace dlib
Like in the dlib::sequence_labeler, PSI() is a sum of feature vectors, each
derived from the entire input sequence x but only part of the label
sequence y. In the case of the sequence_segmenter, we use an order one
model
Markov. This means that
Markov
model
. This means that
PSI(x,y) == sum_i XI(x, y_{i-1}, y_{i}, i)
where the sum is taken over all the elements in the sequence. At each
element we extract a feature vector, XI(), that is expected to encode
...
...
@@ -159,8 +159,8 @@ namespace dlib
0] /
If we had instead used the BILOU tagging model the XI() vector would
have been similarly defined except that there would be
5*5+5
slots for
the various label combination instead of
3*3+
3.
have been similarly defined except that there would be
30*3
slots for
the various label combination instead of
12*
3.
Finally, while not shown here, we also include indicator features in
XI() to model label transitions. These are 9 extra features in the
...
...
@@ -396,6 +396,8 @@ namespace dlib
x[Y[i].first], x[Y[i].first+1], ..., x[Y[i].second-1]
- Y[i].first < x.size()
- Y[i].second <= x.size()
- Y[i].first < Y[i].second
(i.e. This function never outputs empty segments)
!*/
void
segment_sequence
(
...
...
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