Amro
13a0a37e63
fix randMVNormal in ML ( #5469 )
...
Fix the failed assertion by replacing the GEMM call.
Also random numbers are generated from normal distribution ~N(0,1),
instead of uniform distribution ~U(0,1).
2015-10-11 01:54:11 +03:00
Vadim Pisarevsky
c9ccf3b55d
Merge pull request #5346 from art-programmer:art-programmer-patch-1
2015-09-21 12:06:46 +00:00
art-programmer
e0ef293645
Update em.cpp
...
Fix a bug. When reading from a saved model, function decomposeCovs() will be called. And if covMatType is COV_MAT_DIAGONAL, covsEigenValues is computed using SVD and eigen values are sorted so that the order of eigen values is not preserved. This would lead to different result when calling function predict2. This issues is discussed here: http://stackoverflow.com/questions/23485982/got-different-empredict-results-after-emread-saved-model-in-opencv .
2015-09-14 19:35:53 -05:00
Ilya Lavrenov
ee2008abe8
fixed "Conditional jump or move depends on uninitialised value(s)" in GBD
2015-09-13 12:36:57 +02:00
Ilya Lavrenov
1d77d697ef
fixed memory leak in GBTrees
2015-09-13 12:15:30 +02:00
Vadim Pisarevsky
32c386786e
Merge pull request #5294 from LorenaGdL:master
2015-09-09 13:41:39 +00:00
Lorena García
4e7bd86fad
TrainData doc update
...
Update docs according to PR #5127
2015-09-03 05:52:04 +02:00
Lorena García
c545857ea6
Indent fix
2015-08-04 16:50:55 +02:00
Lorena García
4cd78bc7ad
Whitespace error
2015-08-04 16:45:39 +02:00
Lorena García
fe62243805
Whitespace error
2015-08-04 16:37:41 +02:00
Lorena García
2cb47b4191
Update data.cpp
...
Update to allow loading data from a .csv file that only contains training samples values and not the associated responses. To allow this behavior, function must be called with parameters ResponsesStartIdx <= -2 and ResponsesEndIdx = 0
2015-08-04 15:58:24 +02:00
berak
d9148ea604
Update ml.hpp
...
misplaced CV_WRAP statement lead to not exposing EM::getCovs() to python/java/matlab wrappers
add a CV_OUT to return the covs properly
2015-07-25 08:22:39 +02:00
Jie Yang
2ba0d31785
Fix SVM::trainAuto (Bug #4464 )
...
Fix SVM::trainAuto (Bug #4464 )
2015-07-06 01:20:26 +09:30
berak
b29e473c21
fix plausability check, #issue 4429
2015-07-01 15:32:37 +02:00
Maksim Shabunin
b95769333c
Fixed ANN_MLP dw initialization when moment is not 0
2015-05-13 16:56:34 +03:00
Maksim Shabunin
c137ba53a0
Wrap ANN_MLP class into Python
2015-05-06 15:21:23 +03:00
Vadim Pisarevsky
a69b435c92
Merge pull request #3909 from Nuzhny007:master
2015-04-21 14:02:59 +00:00
Maksim Shabunin
cb00c7036f
Fix cache error during SVM train
2015-04-15 15:46:07 +03:00
Сергей Нужный
4a65f3cee2
Squashed commit of the following:
...
commit 5c379aa1b8
Merge: e800800
3646967
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Wed Apr 8 12:44:46 2015 +0300
Merge branch 'master' of https://github.com/Nuzhny007/opencv
commit e800800bec
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Wed Apr 8 12:43:38 2015 +0300
Squashed commit of the following:
commit 3646967deb
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:48:30 2015 +0300
Fix bug in SVM::trainAuto
commit 0c24ccf538
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:43:59 2015 +0300
Revert "Fix bug in SVM::trainAuto"
This reverts commit 225da0226e
.
commit 225da0226e
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:09:47 2015 +0300
Fix bug in SVM::trainAuto
commit 3646967deb
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:48:30 2015 +0300
Fix bug in SVM::trainAuto
commit 0c24ccf538
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:43:59 2015 +0300
Revert "Fix bug in SVM::trainAuto"
This reverts commit 225da0226e
.
commit 225da0226e
Author: Сергей Нужный <snuzhny@stc-spb.ru>
Date: Tue Apr 7 15:09:47 2015 +0300
Fix bug in SVM::trainAuto
2015-04-08 12:51:57 +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
Sancho McCann
6593422c05
Bugfix: #4030 SVM auto-training.
2015-04-01 20:44:51 +00:00
Vadim Pisarevsky
d7cb99254e
Merge pull request #3858 from MSOpenTech:fix-ml-test
2015-03-24 15:09:53 +00:00
Evgeny Agafonchikov
91bd7df8c1
Fixing invalid opencv_test_ml calls
2015-03-20 17:49:03 +03:00
Maksim Shabunin
9f08310307
Disabled TrainData::getNormCatValues wrapping due to pointer in parameters
2015-03-19 15:45:34 +03:00
Maksim Shabunin
5709ec85d7
Disabled missing python method for static ml function
2015-03-19 15:11:49 +03:00
Maksim Shabunin
5247eacc3c
Add python and java support for ml module
2015-03-19 13:22:30 +03:00
Maksim Shabunin
7335a40a61
Replaced CV_PURE_PROPERTY macros with corresponding code
2015-03-18 17:23:42 +03:00
ippei ito
518fd59a10
fixed whitespace error
2015-03-12 01:09:15 +09:00
ippei ito
49b38fe793
Fixed compile error build with VisualStudio2013 on windows.
...
REG_NONE defined in ml.hpp conflicts with defined in Winnt.h
2015-03-12 00:32:17 +09:00
Maksim Shabunin
79e8f0680c
Updated ml module interfaces and documentation
2015-02-17 11:46:14 +03:00
Maksim Shabunin
c85197da55
Fixed allocated vector size in ML ANN algorithm
...
- updated return value of points_classifier sample
2015-02-03 18:16:20 +03:00
Maksim Shabunin
53c9460454
Reorganized ML module documentation
...
- fixed one BiB record
- moved algorithms overview to separate page
- added docs for some enumerations
- fixed some small documentation errors
2015-01-23 23:43:06 +03:00
Maksim Shabunin
38d37d2b00
Fixed uninitialized memory usage in ANN_MLP
2014-12-31 12:16:26 +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
1c8493fb0d
Merge pull request #3549 from mshabunin:sphinx-doc-remove
2014-12-31 09:14:22 +00:00
Julien Nabet
2d5e3b57ea
Fix cppcheck reports warnings:
...
(performance) Possible inefficient checking for 'lmap' emptiness
(warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
(style) Array index '<xxx>' is used before limits check
2014-12-27 10:54:34 +01:00
Maksim Shabunin
d01bedbc61
Removed Sphinx documentation files
2014-12-26 19:12:19 +03:00
TobyWanKenobi
b35f5d115f
Removed "FORMAT_XML" to generalize format
...
Removed the "FileStorage::FORMAT_XML" to generalize format of the String
model.
2014-12-08 09:21:55 +01:00
TobyWanKenobi
f54b80d2c8
Re-edition of documentation
...
Re-edited the documentation again.
2014-12-03 17:13:11 +01:00
TobyWanKenobi
b3bba3476d
Re-editing Documentation
...
Attempting to re-editing the documentation, to satisfy buildbot error
status.
2014-12-03 15:54:25 +01:00
TobyWanKenobi
270af2ca79
Changing tabs to spaces.
...
Edited previous code to change tabs into spaces.
2014-12-03 15:40:12 +01:00
TobyWanKenobi
a1e04c98aa
Add method in StatModel class, to load from String
...
Added a method "loadFromString" which is based on the "load" one. It
allow to directly pass the XML string which can be usefull and faster
when you have a huge file in a variable.
2014-12-02 15:15:06 +01:00
Maksim Shabunin
03e213ccae
Doxygen documentation: BiB references and fixes
2014-12-01 15:50:55 +03:00
Maksim Shabunin
1523fdcc1c
Doxygen documentation: more fixes and cleanups
2014-12-01 15:50:36 +03:00
Maksim Shabunin
8e9ea0e3d1
Doxygen doucmentation: ml module
2014-12-01 15:47:13 +03:00
bartaandras
21227ba092
Fixed calc_output_scale with NO_OUTPUT_SCALE flag set.
2014-11-04 11:35:45 +01:00
Vadim Pisarevsky
b37a641cc9
fixed bug in automatic SVM training
2014-10-18 20:53:39 +04:00
Benoit Seguin
450734cc32
Correction of the integer data treated as floating point data bug, already corrected in the 2.4 branch.
2014-09-23 14:03:20 +02:00
Vadim Pisarevsky
4057e27539
Merge pull request #3126 from avdmitry:move_KDTree_to_ml
2014-09-14 18:57:23 +00:00
Dmitriy Anisimov
a6b29be55b
minor change: moved algorithm type to the end of params
2014-09-13 15:06:07 +04:00