mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 12:40:05 +08:00
418898029c
SVM sigmoid kernel fix (issue #13621) (#13718) * Added test for sigmoid case for retrieving support vectors * undo unhelpful test * add test for sigmoid SVM with data that is easily separable into two concentric circles * Update sigmoid kernel to use tanh(gamma * <x, y> + coef0) instead of -tanh(gamma * <x, y> + coef0) * remove unnecessary constraint on coef0 * cleanup * fixing inappropriate use of doubles * Add f to float literal * replace CV_Assert with ASSERT_EQ where appropriate |
||
---|---|---|
.. | ||
test_emknearestkmeans.cpp | ||
test_gbttest.cpp | ||
test_lr.cpp | ||
test_main.cpp | ||
test_mltests2.cpp | ||
test_mltests.cpp | ||
test_precomp.hpp | ||
test_save_load.cpp | ||
test_svmsgd.cpp | ||
test_svmtrainauto.cpp |