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
Alexander Alekhin
cc09f5a7de
Merge pull request #7854 from alalek:backports_2016
...
(2.4) Backports from master branch (#7854 )
8 years ago
mshabunin
7a7a2749e0
Fixed java wrappers
8 years ago
sourin
a34fbf7bb1
Fixed identifiers warns
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
Vitaliy Lyudvichenko
ab8de8f506
Adding of user-defined type conversions for python bindings inside module directories
...
Adding of destructor and placement new constructors for classes wrapped with CV_EXPORTS_W_SIMPLE macro
8 years ago
LaurentBerger
b75bac7975
Solve Issue 7063
...
consequences of changes
accuracy test
Solve issue 7063
8 years ago
MYLS
8596e82d98
Add JSON support.
...
a JSON emitter, a parser, tests and some basic doc.
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
MYLS
617df09143
Modify Base64 functions and add test and documentation
...
Major changes:
- modify the Base64 functions to compatible with `cvWriteRawData` and so
on.
- add a Base64 flag for FileStorage and outputs raw data in Base64
automatically.
- complete all testing and documentation.
8 years ago
Marek Smigielski
ef45005056
Adding support for pointer generation. Fixes #6605
9 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
3f0a51bda1
Fixed documentation.
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
068677ad50
Fixed documentation.
9 years ago
Marina Noskova
9d9a5bbbfd
Fixed documentation.
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
ahb
15793b1301
add TestData::getTestSamples()
9 years ago
Marina Noskova
5496dedd6a
Fixed warnings.
9 years ago
Marina Noskova
0307dd19fd
Minor fix in declaration of SVMSGD::setOptimalParameters
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
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