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
MYLS
8596e82d98
Add JSON support.
...
a JSON emitter, a parser, tests and some basic doc.
8 years ago
MYLS
617df09143
Modify Base64 functions and add test and documentation
...
Major changes:
- modify the Base64 functions to compatible with `cvWriteRawData` and so
on.
- add a Base64 flag for FileStorage and outputs raw data in Base64
automatically.
- complete all testing and documentation.
9 years ago
Marina Noskova
617dd5db5b
Fixed doc/opencv.bib
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
40bf97c6d1
Refactored SVMSGD class
9 years ago
Vadim Pisarevsky
052593c760
1. Input/OutputArray optimizations;
...
2. Algorithm::load/save added (moved from StatModel)
3. copyrights updated; added copyright/licensing info for ffmpeg
4. some warnings from Xcode 6.x are fixed
10 years ago
Maksim Shabunin
79e8f0680c
Updated ml module interfaces and documentation
10 years ago
Maksim Shabunin
d004ee58c5
Support loading old models in ML module
...
- added test for loading legacy files
- added version to new written models
- fixed loading of several fields in some models
- added generation of new fields from old data
10 years ago
Vadim Pisarevsky
8e9d1d9fe6
temporarily disabled java bindings for ml; hopefully fixed warnings etc.
11 years ago
Vadim Pisarevsky
ba3783d205
initial commit; ml has been refactored; it compiles and the tests run well; some other modules, apps and samples do not compile; to be fixed
11 years ago
Ilya Lavrenov
aa5326c231
cv::norm -> cvtest::norm in tests
...
Conflicts:
modules/core/src/stat.cpp
11 years ago
Daniil Osokin
5d2edced26
Added throwing exception when saving untrained SVM model
11 years ago
Vadim Pisarevsky
e01335bf47
fixed buffer size and restored the use of compressed files in ml's load_save tests.
12 years ago
Vadim Pisarevsky
4331f76d18
add hack to disable optimization of linear svms; improved precision of optimize_linear_svm; add the relevant test, which however requires some big database (so it's disabled by default)
12 years ago
Vadim Pisarevsky
63a5587d0d
exploring possible bug in optimize_linear_svm
12 years ago
Andrey Kamaev
9526907cba
Use .yml.gz format to reduce space requirement from ~260Mb to ~17Mb for ml tests
...
The size of temporary files is an issue on mobile platforms.
12 years ago
Marina Kolpakova
162f9fd7ea
merged the trunk r8735:8766, r8769, r8777:8780, r8790 and r8800:8811
13 years ago
Andrey Kamaev
d9c74f63e1
All tests writing temporary files are updated to use cv::tempfile() function
13 years ago
Andrey Kamaev
b906ad3108
Test system included into Android build
14 years ago
Vadim Pisarevsky
061b49e0b2
reworked nearly all of the OpenCV tests (except for opencv_gpu tests) - they now use the Google Test engine.
14 years ago
Vadim Pisarevsky
f894d1de31
replaced unlink() & _unlink() with more standard remove() (ticket #334 )
15 years ago
Vadim Pisarevsky
670fff5f42
added workaround for strange tmpnam() output from VS2010. turned off optimization for DCT & DFT on Win64 for VS200x (VS2010 builds it fine)
15 years ago
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
15 years ago