Maksim Shabunin
5ff1fababc
Merge pull request #15959 from mshabunin:refactor-ml-tests
...
ml: refactored tests
* use parametrized tests where appropriate
* use stable theRNG in most tests
* use modern style with EXPECT_/ASSERT_ checks
5 years ago
Alexander Alekhin
4a297a2443
ts: refactor OpenCV tests
...
- removed tr1 usage (dropped in C++17)
- moved includes of vector/map/iostream/limits into ts.hpp
- require opencv_test + anonymous namespace (added compile check)
- fixed norm() usage (must be from cvtest::norm for checks) and other conflict functions
- added missing license headers
7 years ago
Marina Noskova
53711ec29d
Deleted default value for parameters in docs.
...
Added some asserts.
9 years ago
Marina Noskova
d484893839
Deleted functions makeTrainData() and makeTestData() in test_svmsgd.cpp.
...
Added function makeData() in test_svmsgd.cpp.
9 years ago
Marina Noskova
74c87a26a5
Delete function areClassesEmpty().
9 years ago
Marina Noskova
f3c4a6aab8
Rename parameters lambda, gamma0 and c.
9 years ago
Marina Noskova
ff54952769
Corrected spelling mistakes
9 years ago
Marina Noskova
5496dedd6a
Fixed warnings.
9 years ago
Marina Noskova
05353a1492
Removed trailing whitespaces
9 years ago
Marina Noskova
41c0a38344
Fixed test samples for tests with different borders
...
Added new test (separating two points)
9 years ago
Marina Noskova
bfdca05f25
Added margin type, added tests with different scales of features.
...
Also fixed documentation, refactored sample.
9 years ago
Marina Noskova
acd74037b3
Increasing the dimension of features space in the SVMSGD::train function.
9 years ago
Marina Noskova
40bf97c6d1
Refactored SVMSGD class
9 years ago