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
2116cbb7
Commit
2116cbb7
authored
Oct 30, 2011
by
Davis King
Browse files
Clarified the spec regarding the type of sparse vector supported
by these two objects.
parent
2cce156d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
dlib/image_keypoint/hashed_feature_image_abstract.h
dlib/image_keypoint/hashed_feature_image_abstract.h
+1
-4
dlib/svm/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
- 0 <= col < nc()
ensures
- 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:
- V.size() == get_hash_bin_sizes().size()
- for all valid i: 0 <= V[i].first < get_num_dimensions()
- if (BASE_FE(row,col) hashes into bin B) then
- 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
(
...
...
dlib/svm/structural_svm_problem_abstract.h
View file @
2116cbb7
...
...
@@ -25,7 +25,7 @@ namespace dlib
REQUIREMENTS ON feature_vector_type_
- 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
- 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