Alexander Smorkalov
daa8f7dfc6
Partially back-port #25075 to 4.x
2024-03-05 12:15:39 +03:00
Alexander Alekhin
cfb77091ca
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2021-04-15 20:50:26 +00:00
Alexander Alekhin
0bdbc745c4
ml: update checks
2021-04-13 11:09:14 +00:00
Danny
a9a6801c6d
Merge pull request #19884 from danielenricocahall:fix-prediction-features-bug
...
Fix bug with predictions in RTrees/Boost
* address bug where predict functions with invalid feature count in rtrees/boost models
* compact matrix rep in tests
* check 1..n-1 and n+1 in feature size validation test
2021-04-09 16:56:14 +00:00
Alexander Alekhin
5c76f99fdd
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2020-09-05 19:37:38 +00:00
Danny
c31164bf1e
Merge pull request #18126 from danielenricocahall:add-oob-error-sample-weighting
...
Account for sample weights in calculating OOB Error
* account for sample weights in oob error calculation
* redefine oob error functions
* fix ABI compatibility
2020-09-05 18:52:10 +00:00
Alexander Alekhin
1996ae4a42
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-12-31 10:11:39 +00:00
Peter Würtz
8aebef2459
Use global RNG for training RTrees.
2019-12-29 21:59:14 +01:00
Alexander Alekhin
e2a5a6a05c
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2019-09-25 18:32:44 +00:00
Alexander Alekhin
fef7fc343e
ml: add checks of empty train data
2019-09-22 11:12:19 +00:00
Alexander Alekhin
4560909a5e
Merge remote-tracking branch 'upstream/3.4' into merge-3.4
2018-07-17 19:27:48 +03:00
Maksim Shabunin
1da46fe6fb
Fixed issues found by static analysis (mostly DBZ)
2018-07-17 16:14:54 +03:00
berak
fc5bba66af
ml: refactor non-virtual methods
2018-04-24 13:23:27 +02:00
Alexander Alekhin
4d0dd3e509
ml: apply CV_OVERRIDE/CV_FINAL
2018-03-28 18:43:27 +03:00
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
2017-06-27 14:30:26 +03:00
Alexander Alekhin
006966e629
trace: initial support for code trace
2017-06-26 17:07:13 +03:00
mrquorr
d8425d8881
finished for one sample
...
Finished with several samples support, need regression testing
Gave a more relevant name to function (getVotes)
Finished implicit implementation
Removed printf, finished regresion testing
Fixed conversion warning
Finished test for Rtrees
Fixed documentation
Initialized variable
Added doxygen documentation
Added parameter name
2017-02-28 11:14:33 -06:00
chrizandr
e3ec3566d9
RTrees: Add wrapper for RTrees_load method to enable loading trained RTrees
2017-01-19 17:16:45 +05:30
Vladislav Sovrasov
d2e5bea1fb
Disable training of RTrees when CVFolds > 0
2016-12-16 16:39:44 +03:00
mvukad
695e33b25b
Fix missing format when writing Algorithm-based objects
...
Added a writeFormat() method to Algorithm which must be called by the
write() method of derived classes.
2016-04-07 13:49:42 -07:00
Vadim Pisarevsky
544990e377
couple of small fixes in rtrees variable importance calculation
2015-12-10 18:13:54 +03:00
niederb
d8e3971e7f
Fixed variable importance in rtrees
2015-12-10 18:09:15 +03:00
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
2015-04-07 16:44:26 +03:00
Maksim Shabunin
79e8f0680c
Updated ml module interfaces and documentation
2015-02-17 11:46:14 +03:00
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
2014-12-31 12:16:25 +03:00
Vadim Pisarevsky
24b01a8e4f
continuing to debug boost and fix MSVC compile errors
2014-08-03 21:21:11 +04:00
Vadim Pisarevsky
eeb786fcfd
fixed compile warnings from MSVC; fixed warnings in Python bindings; added some debugging code
2014-08-03 12:46:28 +04:00
Vadim Pisarevsky
2520e335d1
removed many extra whitespaces; fixed 1 warning
2014-08-03 03:08:25 +04:00
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
2014-07-29 23:54:23 +04:00
Roman Donchenko
345bc633cc
Boring changes - ml.
2013-09-05 18:26:44 +04:00
Maria Dimashova
989be02562
fixed cpp wrappers of ML tree-based models
2013-08-23 18:13:10 +04:00
Andrey Kamaev
715fa3303e
Move cv::Mat out of core.hpp
2013-04-01 15:24:34 +04:00
Andrey Kamaev
2ad7b97f1c
All modules (except ocl and gpu) compiles and pass tests
2013-03-22 22:14:26 +04:00
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
2012-06-09 15:00:04 +00:00
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
2012-04-13 21:50:59 +00:00
Vadim Pisarevsky
846e37ded5
fixed many warnings from GCC 4.6.1
2012-03-17 09:22:31 +00:00
Maria Dimashova
a3ce652eb4
fixed CvRTrees::read in case nactive_vars==var_count (thanks to Malcolm Reynolds)
2011-11-10 13:40:11 +00:00
Ilya Lysenkov
2c958b2598
Trunk: moved contructors implementations from .hpp to .cpp
2011-06-24 12:25:52 +00:00
Vadim Pisarevsky
c5e3869c32
replaced alloca() (a.k.a. cvStackAlloc) with AutoBuffer or vector() everywhere. cvStackAlloc() is still defined, but we do not need alloca() anymore to compile and run OpenCV ( fixes #889 and may be some others)
2011-02-18 10:36:18 +00:00
Maria Dimashova
c104cdce96
made random generators of MLL classes depended on default rng (theRNG) ( #205 ).
2010-11-29 14:04:08 +00:00
Vadim Pisarevsky
5b6a755719
almost finished Python wrappers
2010-11-02 17:58:22 +00:00
Maria Dimashova
7d94f256e6
fixed CvDTree and CvForestTree find_best_split() methods
2010-09-10 15:44:46 +00:00
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
2010-05-11 17:44:00 +00:00