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
d0575815
"apps/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "02fb05817bd6864f10074c2a4cd7d6af1ece3e99"
Commit
d0575815
authored
Oct 01, 2012
by
Davis King
Browse files
fixed typos in spec
parent
7af08c27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
dlib/svm/svm_abstract.h
dlib/svm/svm_abstract.h
+5
-3
No files found.
dlib/svm/svm_abstract.h
View file @
d0575815
...
@@ -317,7 +317,8 @@ namespace dlib
...
@@ -317,7 +317,8 @@ namespace dlib
requires
requires
- T == a matrix object or an object compatible with std::vector that contains
- T == a matrix object or an object compatible with std::vector that contains
a swappable type.
a swappable type.
- if samples is a matrix then is_vector(samples) == true
- if (samples is a matrix) then
- is_vector(samples) == true
ensures
ensures
- randomizes the order of the elements inside samples
- randomizes the order of the elements inside samples
- A default initialized random number generator is used to perform the randomizing.
- A default initialized random number generator is used to perform the randomizing.
...
@@ -339,7 +340,9 @@ namespace dlib
...
@@ -339,7 +340,9 @@ namespace dlib
requires
requires
- T == a matrix object or an object compatible with std::vector that contains
- T == a matrix object or an object compatible with std::vector that contains
a swappable type.
a swappable type.
- if samples is a matrix then is_vector(samples) == true
- rand_type == a type that implements the dlib/rand/rand_kernel_abstract.h interface
- if (samples is a matrix) then
- is_vector(samples) == true
ensures
ensures
- randomizes the order of the elements inside samples
- randomizes the order of the elements inside samples
- the given rnd random number generator object is used to do the randomizing
- the given rnd random number generator object is used to do the randomizing
...
@@ -370,7 +373,6 @@ namespace dlib
...
@@ -370,7 +373,6 @@ namespace dlib
- is_vector(labels) == true
- is_vector(labels) == true
- is_vector(auxiliary) == true
- is_vector(auxiliary) == true
- samples.size() == labels.size() == auxiliary.size()
- samples.size() == labels.size() == auxiliary.size()
- rand_type == a type that implements the dlib/rand/rand_kernel_abstract.h interface
ensures
ensures
- randomizes the order of the samples, labels, and auxiliary but preserves the
- randomizes the order of the samples, labels, and auxiliary but preserves the
pairing between each sample, its label, and its auxiliary value.
pairing between each sample, its label, and its auxiliary value.
...
...
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