ippei ito
518fd59a10
fixed whitespace error
2015-03-12 01:09:15 +09:00
ippei ito
49b38fe793
Fixed compile error build with VisualStudio2013 on windows.
...
REG_NONE defined in ml.hpp conflicts with defined in Winnt.h
2015-03-12 00:32:17 +09:00
Maksim Shabunin
79e8f0680c
Updated ml module interfaces and documentation
2015-02-17 11:46:14 +03:00
Julien Nabet
2d5e3b57ea
Fix cppcheck reports warnings:
...
(performance) Possible inefficient checking for 'lmap' emptiness
(warning) Assignment of function parameter has no effect outside the function. Did you forget dereferencing it?
(style) Array index '<xxx>' is used before limits check
2014-12-27 10:54:34 +01:00
Maksim Shabunin
108caae216
Modified logistic regression module according to comments
...
- Reworked documentation to reflect actual code
- Removed some unused variables
- Removed unnecessary 'cv::' modifiers
2014-08-18 19:13:59 +04:00
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.
2014-08-18 19:06:58 +04:00
Maksim Shabunin
3e26086f82
Reworked ML logistic regression implementation, initial version
2014-08-18 19:06:58 +04:00
Maksim Shabunin
71770eb790
Fixed ML module build after merge
2014-08-18 19:06:58 +04:00
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).
2014-08-18 19:06:58 +04:00
Rahul Kavi
d20b2a5a97
removed extra comments in train method
2014-08-18 19:06:58 +04:00
Rahul Kavi
ae02ecec60
removed a couple of unnecessary comments in Logistic Regression training method
2014-08-18 19:06:58 +04:00
Rahul Kavi
65eb52a247
removed default value from LogisticRegression constructor function definition
2014-08-18 19:06:57 +04:00
Rahul Kavi
8995921cc5
fixed white space in logistic regression classifier
2014-08-18 19:06:57 +04:00
Rahul Kavi
b3b4e83aed
updated logistic regression definition
2014-08-18 19:06:57 +04:00
Rahul Kavi
5bb43f69ab
removed trailing whitespaces from predict function
2014-08-18 19:06:52 +04:00
Rahul Kavi
0e13f33193
rewrote the code to update API, removed inheritance from CvStatModel.
2014-08-18 19:06:48 +04:00
Rahul Kavi
6c74439d56
fixed trailing white-space in logistic regression class
2014-08-18 19:06:48 +04:00
Rahul Kavi
6ae43a2243
added logistic regression classifier
2014-08-18 19:06:48 +04:00