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
d0575815
Commit
d0575815
authored
Oct 02, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typos in spec
parent
7af08c27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
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
requires
- T == a matrix object or an object compatible with std::vector that contains
a swappable type.
- if samples is a matrix then is_vector(samples) == true
- if (samples is a matrix) then
- is_vector(samples) == true
ensures
- randomizes the order of the elements inside samples
- A default initialized random number generator is used to perform the randomizing.
...
...
@@ -339,7 +340,9 @@ namespace dlib
requires
- T == a matrix object or an object compatible with std::vector that contains
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
- randomizes the order of the elements inside samples
- the given rnd random number generator object is used to do the randomizing
...
...
@@ -370,7 +373,6 @@ namespace dlib
- is_vector(labels) == true
- is_vector(auxiliary) == true
- samples.size() == labels.size() == auxiliary.size()
- rand_type == a type that implements the dlib/rand/rand_kernel_abstract.h interface
ensures
- randomizes the order of the samples, labels, and auxiliary but preserves the
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