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
2116cbb7
Commit
2116cbb7
authored
Oct 30, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified the spec regarding the type of sparse vector supported
by these two objects.
parent
2cce156d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
hashed_feature_image_abstract.h
dlib/image_keypoint/hashed_feature_image_abstract.h
+1
-4
structural_svm_problem_abstract.h
dlib/svm/structural_svm_problem_abstract.h
+1
-1
No files found.
dlib/image_keypoint/hashed_feature_image_abstract.h
View file @
2116cbb7
...
@@ -199,15 +199,12 @@ namespace dlib
...
@@ -199,15 +199,12 @@ namespace dlib
- 0 <= col < nc()
- 0 <= col < nc()
ensures
ensures
- hashes BASE_FE(row,col) and returns the resulting indicator vector.
- hashes BASE_FE(row,col) and returns the resulting indicator vector.
This vector will be represented as an unsorted sparse vector.
- Returns a vector V such that:
- Returns a vector V such that:
- V.size() == get_hash_bin_sizes().size()
- V.size() == get_hash_bin_sizes().size()
- for all valid i: 0 <= V[i].first < get_num_dimensions()
- for all valid i: 0 <= V[i].first < get_num_dimensions()
- if (BASE_FE(row,col) hashes into bin B) then
- if (BASE_FE(row,col) hashes into bin B) then
- V contains an element with .first == B and .second == 1
- V contains an element with .first == B and .second == 1
- Note that the returned vector is represented as a sparse vector but
the indices are not in sorted order. Moreover, there might even be
duplicate entires for a particular dimension. This means you can't use
many of the sparse vector operations defined in dlib::sparse_vector.
!*/
!*/
const
rectangle
get_block_rect
(
const
rectangle
get_block_rect
(
...
...
dlib/svm/structural_svm_problem_abstract.h
View file @
2116cbb7
...
@@ -25,7 +25,7 @@ namespace dlib
...
@@ -25,7 +25,7 @@ namespace dlib
REQUIREMENTS ON feature_vector_type_
REQUIREMENTS ON feature_vector_type_
- feature_vector_type_ == a dlib::matrix capable of storing column vectors
- feature_vector_type_ == a dlib::matrix capable of storing column vectors
or a sparse vector type as defined in dlib/svm/sparse_vector_abstract.h.
or a
n unsorted
sparse vector type as defined in dlib/svm/sparse_vector_abstract.h.
INITIAL VALUE
INITIAL VALUE
- get_epsilon() == 0.001
- get_epsilon() == 0.001
...
...
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