Abe Friesen
db78fcd11a
Removed unused variables.
9 years ago
Abe Friesen
dc1b01e002
- LogisticRegressionImpl::predict() was changed to return the predicted value and to only write to the OutputArray results if specified (no longer segfaults).
...
- Refactored batch and mini_batch training to use a common gradient computation function (removed duplicate code).
- Altered the cost computation so that NAN is not computed unnecessarily.
- Greatly simplified (and sped up) the code that appends a column of 1s to the data.
- Minor code cleanup.
9 years ago
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).
9 years ago
StevenPuttemans
47db20eced
removing unexisting functionality in ML header
9 years ago
Miguel Algaba
b71a27b96c
Assert fix: allow one cluster as valid parameter
9 years ago
berak
74fc9acdd1
initialize temp_train_samples in SVM::autoTrain
...
add smoke test
9 years ago
Ilya Lavrenov
d50c07e303
fixed "Conditional jump or move depends on uninitialised value(s)" in GBD
...
(cherry picked from commit 887736bcd4
)
9 years ago
Ilya Lavrenov
54693b3fa7
fixed memory leak in GBTrees
...
(cherry picked from commit 1b8c2589c0
)
9 years ago
Ilya Lavrenov
3c3bc123fc
release filestorage before exception
...
(cherry picked from commit 3a1bb93340
)
9 years ago
Ilya Lavrenov
ac33cd688c
fixed memory leak in ANN
...
(cherry picked from commit dfb49097e3
)
9 years ago
Ilya Lavrenov
b5e42d8cc1
fixed memory leak in ml module
...
(cherry picked from commit d7bb1025f3
)
9 years ago
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 .
9 years ago
Ilya Lavrenov
ee2008abe8
fixed "Conditional jump or move depends on uninitialised value(s)" in GBD
9 years ago
Ilya Lavrenov
1d77d697ef
fixed memory leak in GBTrees
9 years ago
Lorena García
4e7bd86fad
TrainData doc update
...
Update docs according to PR #5127
9 years ago
Ilya Lavrenov
1b8c2589c0
fixed memory leak in GBTrees
9 years ago
Ilya Lavrenov
887736bcd4
fixed "Conditional jump or move depends on uninitialised value(s)" in GBD
9 years ago
Ilya Lavrenov
3a1bb93340
release filestorage before exception
9 years ago
Ilya Lavrenov
dfb49097e3
fixed memory leak in ANN
9 years ago
Ilya Lavrenov
d7bb1025f3
fixed memory leak in ml module
9 years ago
Maksim Shabunin
447b8bf58a
Fixing possible corruption for big training data sizes
9 years ago
Lorena García
c545857ea6
Indent fix
9 years ago
Lorena García
4cd78bc7ad
Whitespace error
9 years ago
Lorena García
fe62243805
Whitespace error
9 years ago
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
9 years ago
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
9 years ago
Jie Yang
2ba0d31785
Fix SVM::trainAuto (Bug #4464 )
...
Fix SVM::trainAuto (Bug #4464 )
10 years ago
berak
b29e473c21
fix plausability check, #issue 4429
10 years ago
Maksim Shabunin
b95769333c
Fixed ANN_MLP dw initialization when moment is not 0
10 years ago
Maksim Shabunin
c137ba53a0
Wrap ANN_MLP class into Python
10 years ago
Maksim Shabunin
cb00c7036f
Fix cache error during SVM train
10 years ago
Сергей Нужный
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
10 years ago
Сергей Нужный
e800800bec
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
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
Сергей Нужный
3646967deb
Fix bug in SVM::trainAuto
10 years ago
Сергей Нужный
0c24ccf538
Revert "Fix bug in SVM::trainAuto"
...
This reverts commit 225da0226e
.
10 years ago
Сергей Нужный
225da0226e
Fix bug in SVM::trainAuto
10 years ago
Sancho McCann
6593422c05
Bugfix: #4030 SVM auto-training.
10 years ago
Evgeny Agafonchikov
91bd7df8c1
Fixing invalid opencv_test_ml calls
10 years ago
Maksim Shabunin
9f08310307
Disabled TrainData::getNormCatValues wrapping due to pointer in parameters
10 years ago
Maksim Shabunin
5709ec85d7
Disabled missing python method for static ml function
10 years ago
Maksim Shabunin
5247eacc3c
Add python and java support for ml module
10 years ago
Maksim Shabunin
7335a40a61
Replaced CV_PURE_PROPERTY macros with corresponding code
10 years ago
ippei ito
518fd59a10
fixed whitespace error
10 years ago
ippei ito
49b38fe793
Fixed compile error build with VisualStudio2013 on windows.
...
REG_NONE defined in ml.hpp conflicts with defined in Winnt.h
10 years ago
Maksim Shabunin
79e8f0680c
Updated ml module interfaces and documentation
10 years ago
Maksim Shabunin
c85197da55
Fixed allocated vector size in ML ANN algorithm
...
- updated return value of points_classifier sample
10 years ago
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
10 years ago
Maksim Shabunin
38d37d2b00
Fixed uninitialized memory usage in ANN_MLP
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