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
f4a72555
Commit
f4a72555
authored
May 12, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified spec.
parent
6eae1119
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
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
...
@@ -48,9 +48,9 @@ namespace dlib
PSI(x,y) == sum_i XI(x, y_{i-1}, y_{i}, i)
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
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
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
important details
describing what the i-th position of the sequence looks
the context of the current and previous labels. To do this, XI() is
like in the context of the current and previous labels. To do this, XI()
allowed to look at any part of the input sequence x, the current and
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.
previous labels, and of course it must also know the position in question, i.
The sequence_segmenter simplifies this further by decomposing XI() into
The sequence_segmenter simplifies this further by decomposing XI() into
...
@@ -61,12 +61,12 @@ namespace dlib
...
@@ -61,12 +61,12 @@ namespace dlib
independent of any labeling. We denote this feature vector by ZI(x,i), where
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.
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
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()
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
vector. Each combination of window position and labeling has a different
slot. To explain further, consider the following examples where we have
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
If the previous and current label are both B and we use a window size of 3
then XI() would be instantiated as:
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