Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.learn.libsvm
Commits
8af71d16
Commit
8af71d16
authored
Mar 31, 2014
by
André Anjos
💬
Browse files
Fix labelling order
parent
2aff9822
Changes
1
Hide whitespace changes
Inline
Side-by-side
xbob/learn/libsvm/pytrainer.cpp
View file @
8af71d16
...
...
@@ -555,8 +555,10 @@ PyDoc_STRVAR(s_train_doc,
\n
\
Trains a new machine for multi-class classification. If the
\n
\
number of classes in data is 2, then the assigned labels will
\n
\
be -1 and +1. If the number of classes is greater than 2, labels
\n
\
are picked starting from 1 (i.e., 1, 2, 3, 4, etc.).
\n
\
be +1 and -1, **in that order**. If the number of classes is
\n
\
greater than 2, labels are picked starting from 1 (i.e., 1,
\n
\
2, 3, 4, etc.). This convention follows what is done at the
\n
\
command-line for LIBSVM.
\n
\
\n
\
The input object ``data`` must be an iterable object (such
\n
\
as a Python list or tuple) containing 2D 64-bit float arrays
\n
\
...
...
Write
Preview
Supports
Markdown
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