David Carlier
bacc210606
fixing segfaults occuring when launching those unit tests
8 years ago
Julian Tanke
f70cc29edb
export SVM::trainAuto to python #7224 ( #8373 )
...
* export SVM::trainAuto to python #7224
* workaround for ABI compatibility of SVM::trainAuto
* add parameter comments to new SVM::trainAuto function
* Export ParamGrid member variables
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
519fbdb8ab
Wrappers for load methods of EM, LR, SVMSGD and Normal Bayes Classifier
8 years ago
chrizandr
d22df8c41f
Add wrappers for load functions for DTrees and Boost classifiers
8 years ago
chrizandr
e3ec3566d9
RTrees: Add wrapper for RTrees_load method to enable loading trained RTrees
8 years ago
berak
89a740a62f
Merge pull request #8019 from berak:patch-2
...
ml: fix small typo in lr.cpp (#8019 )
8 years ago
BadrinathS
d1f727191f
Resolving issue #7924
8 years ago
logic1988
de059567d7
Update inner_functions.cpp
...
Fix #4958 cv::ml::StatModel::calcError not working for responses of type CV_32S
8 years ago
Vladislav Sovrasov
d2e5bea1fb
Disable training of RTrees when CVFolds > 0
8 years ago
Vadim Pisarevsky
40b870704e
add 2 extra methods to ml::TrainData ( #7169 )
...
* expose 2 extra methods from ml::TrainData: getNames() and getVarSymbolFlags(). The first one returns text labels from CSV (if the data has been loaded from CSV); the second one returns a matrix of boolean values; its n-th element is 1 iff the corresponding column in the CSV uses symbolic names, not numbers.
* check that the dynamic_cast succeeds
8 years ago
LaurentBerger
b75bac7975
Solve Issue 7063
...
consequences of changes
accuracy test
Solve issue 7063
8 years ago
Vadim Pisarevsky
d7ee62f03b
1. fix warning from Xcode 7.x
...
2. fixed parsing of "cat[range_spec]ord[range_spec]" type specification string when using ml::TrainData::loadFromCSV(). Thanks to A. Kaehler for reporting it
8 years ago
Jose Luis Guardiola
2bb520e277
Fixed #6562 : Incorrect CV_64F management in ANN
9 years ago
Tauranis
edb6a0e889
Bug fix for MLP predict for small values to avoid nan responses.
9 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
Eduardo Arnold
d046602ea4
Enforced DecisionFunction vector indexes to be saved on SVM save/load methods
9 years ago
Eugene Khvedchenya
ee92a36123
Added parallel implementation of compute_gradient method.
9 years ago
Evan Heidtmann
0712bccf52
Fix epsilon comparison when splitting
9 years ago
berak
4555f9ac25
svmsgd.cpp, fix #6248
...
add a cast to double, to make vs compilers happy
9 years ago
Marina Noskova
53711ec29d
Deleted default value for parameters in docs.
...
Added some asserts.
9 years ago
Marina Noskova
d484893839
Deleted functions makeTrainData() and makeTestData() in test_svmsgd.cpp.
...
Added function makeData() in test_svmsgd.cpp.
9 years ago
Marina Noskova
74c87a26a5
Delete function areClassesEmpty().
9 years ago
Marina Noskova
f3c4a6aab8
Rename parameters lambda, gamma0 and c.
9 years ago
Marina Noskova
02cd8cf039
Deleted illegal type values.
9 years ago
Marina Noskova
ff54952769
Corrected spelling mistakes
9 years ago
Maksim Shabunin
54abb83c82
ml: moved getTestSamples implementation to src
9 years ago
Marina Noskova
5496dedd6a
Fixed warnings.
9 years ago
Marina Noskova
617dd5db5b
Fixed doc/opencv.bib
9 years ago
Marina Noskova
c522172367
Fixed small bug in SVMSGD::clear().
9 years ago
Marina Noskova
05353a1492
Removed trailing whitespaces
9 years ago
Marina Noskova
41c0a38344
Fixed test samples for tests with different borders
...
Added new test (separating two points)
9 years ago
Marina Noskova
bfdca05f25
Added margin type, added tests with different scales of features.
...
Also fixed documentation, refactored sample.
9 years ago
Marina Noskova
acd74037b3
Increasing the dimension of features space in the SVMSGD::train function.
9 years ago
Marina Noskova
40bf97c6d1
Refactored SVMSGD class
9 years ago
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
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
Ishank gulati
9636b5e821
reduce k_fold parameter
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