Maksim Shabunin
4667e18831
Updated logistic regression example
...
- Extracted common operations to separate functions.
- Activated first parameters set.
- Some output formatting.
- Fixed loop break condition in mini_batch_gradient function.
10 years ago
Maksim Shabunin
3e26086f82
Reworked ML logistic regression implementation, initial version
10 years ago
Maksim Shabunin
71770eb790
Fixed ML module build after merge
10 years ago
Rahul Kavi
a23836231f
fixed warnings in type conversions
...
fixed warnings in type conversions from size_t to int (in getting size of number of unique classes in a training problem).
10 years ago
Rahul Kavi
d20b2a5a97
removed extra comments in train method
10 years ago
Rahul Kavi
ae02ecec60
removed a couple of unnecessary comments in Logistic Regression training method
10 years ago
Rahul Kavi
65eb52a247
removed default value from LogisticRegression constructor function definition
10 years ago
Rahul Kavi
8995921cc5
fixed white space in logistic regression classifier
10 years ago
Rahul Kavi
b3b4e83aed
updated logistic regression definition
10 years ago
Rahul Kavi
5bb43f69ab
removed trailing whitespaces from predict function
10 years ago
Rahul Kavi
0e13f33193
rewrote the code to update API, removed inheritance from CvStatModel.
10 years ago
Rahul Kavi
6c74439d56
fixed trailing white-space in logistic regression class
10 years ago
Rahul Kavi
6ae43a2243
added logistic regression classifier
10 years ago
Adil Ibragimov
8a4a1bb018
Several type of formal refactoring:
...
1. someMatrix.data -> someMatrix.prt()
2. someMatrix.data + someMatrix.step * lineIndex -> someMatrix.ptr( lineIndex )
3. (SomeType*) someMatrix.data -> someMatrix.ptr<SomeType>()
4. someMatrix.data -> !someMatrix.empty() ( or !someMatrix.data -> someMatrix.empty() ) in logical expressions
10 years ago
Vadim Pisarevsky
05e7c29de5
fixed various warnings and obvious errors reported by clang compiler and the coverity tool.
10 years ago
Vadim Pisarevsky
222f8a3d5e
hopefully fixed test failure on Linux
10 years ago
Vadim Pisarevsky
24b01a8e4f
continuing to debug boost and fix MSVC compile errors
10 years ago
Vadim Pisarevsky
98a1181240
fixed the condition
10 years ago
Vadim Pisarevsky
79b593d8d8
more fixes and more debugging code
10 years ago
Vadim Pisarevsky
eeb786fcfd
fixed compile warnings from MSVC; fixed warnings in Python bindings; added some debugging code
10 years ago
Vadim Pisarevsky
2520e335d1
removed many extra whitespaces; fixed 1 warning
10 years ago
Vadim Pisarevsky
c20ff6ce19
made everything compile and even run somehow
10 years ago
Vadim Pisarevsky
10b60f8d16
continuing refactoring ml samples; added "max vote" response to ANN_MLP. Probably, should make it in less hacky way
10 years ago
Vadim Pisarevsky
223cdcd0ee
fixed compilation of some samples; fixed ANN_MLP::predict
10 years ago
Vadim Pisarevsky
ba3783d205
initial commit; ml has been refactored; it compiles and the tests run well; some other modules, apps and samples do not compile; to be fixed
11 years ago
unknown
ade46bd428
Fixed typos in comments
11 years ago
berak
2bacd8b702
2 fixed unassigned reshapes in em ( #3674 )
11 years ago
Vladislav Vinogradov
7e2f7f45d7
fix bug #3690
...
removed invalid condition, it is always false
11 years ago
Ilya Lavrenov
32eb38ec98
fixed defects from coverity.com
11 years ago
Cosmin Boaca
f756171f7b
Fixed alignment
11 years ago
Cosmin Boaca
8782eb8657
Fixed alignment
11 years ago
Cosmin Boaca
2cd22a3ca3
Fixed broken alignment
11 years ago
Cosmin Boaca
97092e31bc
Added result_probabilities parameter to CvNormalBayesClassifier::predict method. Issue #3401
11 years ago
Cosmin Boaca
3985980b2f
Added returnDFVal parameter to parallel CvSVM::predict function
11 years ago
Daniil Osokin
5d2edced26
Added throwing exception when saving untrained SVM model
11 years ago
Ilya Lavrenov
6b9ebcbf3d
deleted extra semicolons
11 years ago
Piotr Miecielica
923698d700
Fixes of some memory leaks
11 years ago
Alexander Alekhin
f63b0dfaf4
svm: disable failed tests
11 years ago
Csaba Kertesz
6fb3b4f41c
Fix a memory leak in CvNormalBayesClassifier::train()
11 years ago
Mathieu Barnachon
0934344a3d
Update sample and code with external computation of HOG detector.
11 years ago
Vladislav Vinogradov
0c7663eb3b
Merge branch 'master' into gpu-cuda-rename
...
Conflicts:
modules/core/include/opencv2/core/cuda.hpp
modules/cudacodec/src/thread.cpp
modules/cudacodec/src/thread.hpp
modules/superres/perf/perf_superres.cpp
modules/superres/src/btv_l1_cuda.cpp
modules/superres/src/optical_flow.cpp
modules/videostab/src/global_motion.cpp
modules/videostab/src/inpainting.cpp
samples/cpp/stitching_detailed.cpp
samples/cpp/videostab.cpp
samples/gpu/stereo_multi.cpp
11 years ago
Roman Donchenko
24dee16b12
Added to CV_INIT_ALGORITHM a Ptr creation function, for convenience.
...
Also changed the static functions to inline, to stop GCC complaining
about unused functions.
11 years ago
Roman Donchenko
345bc633cc
Boring changes - ml.
11 years ago
Maria Dimashova
989be02562
fixed cpp wrappers of ML tree-based models
11 years ago
Mathieu Barnachon
4fbd5707f7
Fix warning on precision lost due to double to float conversion.
11 years ago
Mathieu Barnachon
7f3273c77f
Adding an export for HOGDetector compatibility.
...
An SVM train with HOG could export a single vector for HOGDetector.
11 years ago
Roman Donchenko
e9a28f66ee
Normalized file endings.
11 years ago
Roman Donchenko
f55740da70
Deleted all trailing whitespace.
11 years ago
Roman Donchenko
d9f71b762f
Deleted almost all of the precomp.cpp files.
...
Looks like we don't actually use them; when creating precompiled headers
with Visual C++, a dummy .cpp is created at build time.
11 years ago
Nghia Ho
eb2720a908
missing fclose when returning early
12 years ago