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
f4a72555
Commit
f4a72555
authored
May 12, 2013
by
Davis King
Browse files
Clarified spec.
parent
6eae1119
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
dlib/svm/sequence_segmenter_abstract.h
dlib/svm/sequence_segmenter_abstract.h
+5
-5
No files found.
dlib/svm/sequence_segmenter_abstract.h
View file @
f4a72555
...
...
@@ -48,9 +48,9 @@ namespace dlib
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
important details
of
what the i-th position of the sequence looks
like in
the context of the current and previous labels. To do this, XI()
is
allowed to look at any part of the input sequence x, the current and
important details
describing
what the i-th position of the sequence looks
like in
the context of the current and previous labels. To do this, XI()
is
allowed to look at any part of the input sequence x, the current and
previous labels, and of course it must also know the position in question, i.
The sequence_segmenter simplifies this further by decomposing XI() into
...
...
@@ -61,12 +61,12 @@ namespace dlib
independent of any labeling. We denote this feature vector by ZI(x,i), where
x is the sequence and i is the position in question.
For example, suppose we use a window size of 3, then we can put this
all
For example, suppose we use a window size of 3, then we can put
all
this
together and define XI() in terms of ZI(). To do this, we can think of
XI() as containing 12*3 slots which contain either a zero vector or a ZI()
vector. Each combination of window position and labeling has a different
slot. To explain further, consider the following examples where we have
annotated
on the
which parts of XI() correspond to each slot.
annotated which parts of XI() correspond to each slot.
If the previous and current label are both B and we use a window size of 3
then XI() would be instantiated as:
...
...
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