Commit a1775d1b authored by Davis King's avatar Davis King

Added some comments.

parent cdcbe6dc
...@@ -248,8 +248,11 @@ namespace dlib ...@@ -248,8 +248,11 @@ namespace dlib
svm_prob.set_loss_per_missed_target(loss_per_missed_target); svm_prob.set_loss_per_missed_target(loss_per_missed_target);
svm_prob.set_loss_per_false_alarm(loss_per_false_alarm); svm_prob.set_loss_per_false_alarm(loss_per_false_alarm);
matrix<double,0,1> w; matrix<double,0,1> w;
// Run the optimizer to find the optimal w.
solver(svm_prob,w); solver(svm_prob,w);
// report the results of the training.
return object_detector<image_scanner_type,overlap_tester_type>(scanner, overlap_tester, w); return object_detector<image_scanner_type,overlap_tester_type>(scanner, overlap_tester, w);
} }
......
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