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
7a317f54
Commit
7a317f54
authored
Oct 18, 2017
by
Davis King
Browse files
Fixed bug
parent
e35b2d8f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python_examples/svm_binary_classifier.py
python_examples/svm_binary_classifier.py
+1
-1
No files found.
python_examples/svm_binary_classifier.py
View file @
7a317f54
...
@@ -49,7 +49,7 @@ y.append(-1)
...
@@ -49,7 +49,7 @@ y.append(-1)
# svm = dlib.svm_c_trainer_histogram_intersection()
# svm = dlib.svm_c_trainer_histogram_intersection()
# svm = dlib.svm_c_trainer_radial_basis()
# svm = dlib.svm_c_trainer_radial_basis()
svm
=
dlib
.
svm_c_trainer_linear
()
svm
=
dlib
.
svm_c_trainer_linear
()
svm
.
be_verbose
=
True
svm
.
be_verbose
()
svm
.
set_c
(
10
)
svm
.
set_c
(
10
)
# Now train the model. The return value is the trained model capable of making predictions.
# Now train the model. The return value is the trained model capable of making predictions.
...
...
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