Commit 7a317f54 authored by Davis King's avatar Davis King

Fixed bug

parent e35b2d8f
...@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment