opencv/modules
codingforfun 24e2e0d3f9 #11143 [FIX] Normalize node risk with sample weight sum
In case of regression trees, node risk is computed as sum of squared
error. To get a meaningfull value to compare with it needs to be
normalized to the number of samples in the node (or more generally to
the sum of sample weights in this node). Otherwise the sum of squared
error is highly dependend on the number of samples in the node and
comparision with `regressionAccuracy` parameter is not very meaningful.

After normalization `node_risk` means in fact sample variance for all
samples in the node, which makes much more sence and seams to be what
was originaly intended by the code given that node risk is later used as
a split termination criteria by
```
sqrt(node.node_risk) < params.getRegressionAccuracy()
```
2018-03-27 15:39:36 +02:00
..
calib3d calib3d: fix InputArray -> CvMat 2016-12-22 04:22:46 +03:00
core OpenCV Version++ 2016-12-23 15:54:44 +03:00
cudaarithm build: fix cuda tests 2016-12-03 13:17:37 +03:00
cudabgsegm Fixed identifiers warns 2016-09-30 15:16:29 +05:30
cudacodec Fixed identifiers warns 2016-09-30 15:16:29 +05:30
cudafeatures2d test: fix cuda build 2016-11-29 01:18:10 +03:00
cudafilters Update docs for 32f support in morphology operation 2016-12-12 12:38:43 +02:00
cudaimgproc build: cuda warnings 2016-12-04 03:10:05 +03:00
cudalegacy Merge pull request #7370 from souch55:Fixxn 2016-10-01 10:44:56 +00:00
cudaobjdetect test: fix cuda build 2016-11-29 01:18:10 +03:00
cudaoptflow test: fix cuda build 2016-11-29 01:18:10 +03:00
cudastereo test: fix cuda build 2016-11-29 01:18:10 +03:00
cudawarping Fixed identifiers warns 2016-09-30 15:16:29 +05:30
cudev build: cuda warnings 2016-12-04 03:10:05 +03:00
features2d Merge pull request #7852 from savuor:fix/orb_rotation 2016-12-19 16:19:38 +00:00
flann Merge pull request #7370 from souch55:Fixxn 2016-10-01 10:44:56 +00:00
highgui highgui: change waitKey() default behaviour 2016-12-15 14:17:38 +03:00
imgcodecs cmake(osx): fix CoreImage error (#7916) 2016-12-23 11:30:17 +03:00
imgproc Merge pull request #7802 from terfendail:ovxhal_wrappers_migration 2016-12-21 15:19:06 +02:00
java OpenCV version++ 2016-12-19 17:12:18 +03:00
ml #11143 [FIX] Normalize node risk with sample weight sum 2018-03-27 15:39:36 +02:00
objdetect test: use relative error in HOG tests 2016-12-15 15:58:16 +03:00
photo photo: fix InputArray -> CvMat 2016-12-22 04:22:47 +03:00
python update samples: waitKey() usage 2016-12-15 15:39:47 +03:00
shape Merge pull request #7370 from souch55:Fixxn 2016-10-01 10:44:56 +00:00
stitching test: don't check magic values in stitching perf test 2016-10-31 13:37:59 +03:00
superres warnings 2016-11-18 14:08:53 +03:00
ts Merge pull request #7872 from alalek:merge-2.4 2016-12-16 16:03:14 +02:00
video don't run OpenVX pyrLK if user asked for err vector 2016-12-16 23:38:47 +03:00
videoio cmake(osx): fix CoreImage error (#7916) 2016-12-23 11:30:17 +03:00
videostab Merge pull request #7370 from souch55:Fixxn 2016-10-01 10:44:56 +00:00
viz viz: free new[] allocated arrays using delete[] instead of free 2016-11-08 13:03:22 +01:00
world Fixed identifiers warns 2016-09-30 15:16:29 +05:30
CMakeLists.txt world fix 2014-08-05 20:12:35 +04:00