opencv/modules/ml/src
Hannah McLaughlin 418898029c Merge pull request #13718 from lochsh:svm-sigmoid-fix
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
2019-01-31 15:34:36 +03:00
..
ann_mlp.cpp More issues found by static analysis 2018-07-24 16:04:42 +03:00
boost.cpp opencv: Use cv::AutoBuffer<>::data() 2018-07-04 19:11:29 +03:00
data.cpp ml: don't use "getSubVector()" with 2D matrix 2018-08-18 20:50:36 +00:00
em.cpp Fixed issues found by static analysis (mostly DBZ) 2018-07-17 16:14:54 +03:00
gbt.cpp Misc. modules/ typos (cont.) 2018-02-12 10:15:36 -05:00
inner_functions.cpp ml: apply CV_OVERRIDE/CV_FINAL 2018-03-28 18:43:27 +03:00
kdtree.cpp opencv: Use cv::AutoBuffer<>::data() 2018-07-04 19:11:29 +03:00
kdtree.hpp removed kdtree declaration from interface 2014-08-31 21:39:47 +04:00
knearest.cpp Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
lr.cpp ml: apply CV_OVERRIDE/CV_FINAL 2018-03-28 18:43:27 +03:00
nbayes.cpp opencv: Use cv::AutoBuffer<>::data() 2018-07-04 19:11:29 +03:00
precomp.hpp ml: apply CV_OVERRIDE/CV_FINAL 2018-03-28 18:43:27 +03:00
rtrees.cpp Fixed issues found by static analysis (mostly DBZ) 2018-07-17 16:14:54 +03:00
svm.cpp Merge pull request #13718 from lochsh:svm-sigmoid-fix 2019-01-31 15:34:36 +03:00
svmsgd.cpp ml: apply CV_OVERRIDE/CV_FINAL 2018-03-28 18:43:27 +03:00
testset.cpp fix assignment of class labels 2016-01-14 02:56:34 +02:00
tree.cpp Fixed issues found by static analysis (mostly DBZ) 2018-07-17 16:14:54 +03:00