joao.faro
a2f0963d66
SVMSGD class added
9 years ago
Amro
47cdb041f2
fix assignment of class labels
...
by using the indices from the sorted distance vector of pairs.
9 years ago
Amro
542f2b2e3c
clean up code for train and predict methods of LR
9 years ago
Amro
e67178c696
fix LR predict with raw output in 2-class case
...
In case of binary class, pred_m is initialized as zero vector and later
returned when raw outputs are requested, but it is never filled.
9 years ago
Christoph Spörk
3f172731b2
added wrapped load function for python as suggested by gat3way
9 years ago
Christoph Spörk
66eda72f66
fixed a doxygen issue
9 years ago
Christoph Spörk
6c8bc6a25b
fixed ABI incompatibilities as proposed by alalek
...
related to issue 4969
fixes issue 5891
fixes issue 5922
9 years ago
Christoph Spörk
a7aa198b4c
fixing issue #4969 of Itseez/opencv.
...
Someone forgot to wrap the load function for SVMs in the
corresponding ml python module. Fixed that.
9 years ago
berak
5afd0e211e
ml: fix NormalBayesClassifier bulk prediction( #5911 )
9 years ago
Philip
1ba2286c6d
fix uninitialized matrix in EM::predict fixes #5443
...
fixes #5443
9 years ago
Dikay900
4f3b58d1e7
fix reshape call not being an inplace method
...
fixes #5853 #4740
9 years ago
Vadim Pisarevsky
7a7b0bcfcb
fixed the upper boundary when calling checkRange (thanks to alalek)
9 years ago
Deanna Hood
0d706f6796
Return uncompressed support vectors for getSupportVectors on linear SVM (Bug #4096 )
9 years ago
Vadim Pisarevsky
544990e377
couple of small fixes in rtrees variable importance calculation
9 years ago
Vadim Pisarevsky
fda17273de
applying patch by rxtsolar: https://github.com/Itseez/opencv/pull/5422 for the master branch (even though it's actually not that important here)
9 years ago
niederb
d8e3971e7f
Fixed variable importance in rtrees
9 years ago
Maksim Shabunin
eebd4cad66
Fix compilation problems with XCode 7.1.1 and cmake 3.3.2
9 years ago
Tian Zhi
f0434d60b0
fixed the type inconsistent with document.
...
Document say probs will have CV_64F type. But in effect, it has CV_32F type.
http://docs.opencv.org/3.0.0/d1/dfb/classcv_1_1ml_1_1EM.html#a2ea7da92a75bc7a7d665c241f547b9b9
9 years ago
Abe Friesen
9c6ff4d955
- 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.
Removed unused variables.
Added cast to float to remove warning
9 years ago
Abe Friesen
d367e159c1
Added cast to float to remove warning
9 years ago
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
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