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
fba1e064
Commit
fba1e064
authored
Jun 08, 2013
by
Davis King
Browse files
Fixed spelling error
parent
4585c516
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python_examples/svm_rank.py
python_examples/svm_rank.py
+1
-1
No files found.
python_examples/svm_rank.py
View file @
fba1e064
...
@@ -130,7 +130,7 @@ samp = dlib.sparse_vector()
...
@@ -130,7 +130,7 @@ samp = dlib.sparse_vector()
samp
.
append
(
dlib
.
pair
(
0
,
1
))
samp
.
append
(
dlib
.
pair
(
0
,
1
))
data
.
relevant
.
append
(
samp
)
data
.
relevant
.
append
(
samp
)
#
M
ow make samp represent the same vector as dlib.vector([0, 1])
#
N
ow make samp represent the same vector as dlib.vector([0, 1])
samp
.
clear
()
samp
.
clear
()
samp
.
append
(
dlib
.
pair
(
1
,
1
))
samp
.
append
(
dlib
.
pair
(
1
,
1
))
data
.
nonrelevant
.
append
(
samp
)
data
.
nonrelevant
.
append
(
samp
)
...
...
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