projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7612e7a
)
fixed trailing white-space in logistic regression class
author
Rahul Kavi
<leorahul16@gmail.com>
Sat, 10 Aug 2013 12:50:35 +0000
(08:50 -0400)
committer
Maksim Shabunin
<maksim.shabunin@itseez.com>
Mon, 18 Aug 2014 15:06:48 +0000
(19:06 +0400)
modules/ml/src/lr.cpp
patch
|
blob
|
history
diff --git
a/modules/ml/src/lr.cpp
b/modules/ml/src/lr.cpp
index 73e4c00c9e2f8166cac5173f601881539cb10460..b7e2a1e9d3fbd021878b169537e01e0dbfc25cfc 100644
(file)
--- a/
modules/ml/src/lr.cpp
+++ b/
modules/ml/src/lr.cpp
@@
-685,7
+685,7
@@
void CvLR::read( CvFileStorage* fs, CvFileNode* node )
CvMat *newData;
CvMat *o_labels;
CvMat *n_labels;
-
+
this->params.alpha = cvReadRealByName(fs, node,"alpha", 1.0);
this->params.num_iters = cvReadIntByName(fs, node,"iterations", 1000);