opencv/modules/ml
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
..
doc Misc. modules/ typos (cont.) 2018-02-12 10:15:36 -05:00
include/opencv2 ml: don't use "getSubVector()" with 2D matrix 2018-08-18 20:50:36 +00:00
misc Utilize CV_UNUSED macro 2018-09-07 20:33:52 +09:00
src Merge pull request #13718 from lochsh:svm-sigmoid-fix 2019-01-31 15:34:36 +03:00
test Merge pull request #13718 from lochsh:svm-sigmoid-fix 2019-01-31 15:34:36 +03:00
CMakeLists.txt Add python and java support for ml module 2015-03-19 13:22:30 +03:00