From 29e5319ee9905b1b116b9ad601c5a0c099abcacb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Arrufat?= <1671644+arrufat@users.noreply.github.com> Date: Tue, 2 Nov 2021 13:06:45 +0100 Subject: [PATCH] Mention about find_max_global() Co-authored-by: Davis E. King --- examples/dnn_self_supervised_learning_ex.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/dnn_self_supervised_learning_ex.cpp b/examples/dnn_self_supervised_learning_ex.cpp index e86f86aab..6562fb61d 100644 --- a/examples/dnn_self_supervised_learning_ex.cpp +++ b/examples/dnn_self_supervised_learning_ex.cpp @@ -298,6 +298,8 @@ try features = fnet(training_images, 4 * batch_size); svm_multiclass_linear_trainer>, unsigned long> trainer; trainer.set_num_threads(std::thread::hardware_concurrency()); + // The most appropriate C setting could be found automatically by using find_max_global(). See the docs for + // find_max_global() for further information and take particular note of model_selection_ex.cpp. trainer.set_c(svm_c); cout << "Training Multiclass SVM..." << endl; const auto df = trainer.train(features, training_labels);