Ivan Afanasyev
7d3d2101f9
speedup random forest getVotes method.
8 months ago
Alexander Smorkalov
daa8f7dfc6
Partially back-port #25075 to 4.x
1 year ago
Alexander Alekhin
0bdbc745c4
ml: update checks
4 years ago
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
4 years ago
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
5 years ago
Peter Würtz
8aebef2459
Use global RNG for training RTrees.
5 years ago
Alexander Alekhin
fef7fc343e
ml: add checks of empty train data
6 years ago
Maksim Shabunin
1da46fe6fb
Fixed issues found by static analysis (mostly DBZ)
7 years ago
berak
fc5bba66af
ml: refactor non-virtual methods
7 years ago
Alexander Alekhin
4d0dd3e509
ml: apply CV_OVERRIDE/CV_FINAL
7 years ago
Maksim Shabunin
32d4af36e2
Fixing some static analysis issues
8 years ago
Alexander Alekhin
006966e629
trace: initial support for code trace
8 years ago
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
8 years ago
chrizandr
e3ec3566d9
RTrees: Add wrapper for RTrees_load method to enable loading trained RTrees
8 years ago
Vladislav Sovrasov
d2e5bea1fb
Disable training of RTrees when CVFolds > 0
8 years ago
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.
9 years ago
Vadim Pisarevsky
544990e377
couple of small fixes in rtrees variable importance calculation
10 years ago
niederb
d8e3971e7f
Fixed variable importance in rtrees
10 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
24b01a8e4f
continuing to debug boost and fix MSVC compile errors
11 years ago
Vadim Pisarevsky
eeb786fcfd
fixed compile warnings from MSVC; fixed warnings in Python bindings; added some debugging code
11 years ago
Vadim Pisarevsky
2520e335d1
removed many extra whitespaces; fixed 1 warning
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
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
12 years ago
Roman Donchenko
345bc633cc
Boring changes - ml.
12 years ago
Maria Dimashova
989be02562
fixed cpp wrappers of ML tree-based models
12 years ago
Andrey Kamaev
715fa3303e
Move cv::Mat out of core.hpp
12 years ago
Andrey Kamaev
2ad7b97f1c
All modules (except ocl and gpu) compiles and pass tests
12 years ago
Andrey Kamaev
bd0e0b5800
Merged the trunk r8589:8653 - all changes related to build warnings
13 years ago
Andrey Kamaev
f2d3b9b4a1
Warning fixes continued
13 years ago
Vadim Pisarevsky
2fd1e2ea57
merged all the latest changes from 2.4 to trunk
13 years ago
Maria Dimashova
9783cd985f
fixed ERTrees name for writing to/reading from xml
13 years ago
Vadim Pisarevsky
846e37ded5
fixed many warnings from GCC 4.6.1
13 years ago
Maria Dimashova
a3ce652eb4
fixed CvRTrees::read in case nactive_vars==var_count (thanks to Malcolm Reynolds)
14 years ago
Ilya Lysenkov
2c958b2598
Trunk: moved contructors implementations from .hpp to .cpp
14 years ago
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)
14 years ago
Maria Dimashova
c104cdce96
made random generators of MLL classes depended on default rng (theRNG) ( #205 ).
15 years ago
Vadim Pisarevsky
5b6a755719
almost finished Python wrappers
15 years ago
Maria Dimashova
7d94f256e6
fixed CvDTree and CvForestTree find_best_split() methods
15 years ago
Vadim Pisarevsky
127d6649a1
"atomic bomb" commit. Reorganized OpenCV directory structure
15 years ago