Merge pull request #19884 from danielenricocahall:fix-prediction-features-bug
authorDanny <33044223+danielenricocahall@users.noreply.github.com>
Fri, 9 Apr 2021 16:56:14 +0000 (12:56 -0400)
committerGitHub <noreply@github.com>
Fri, 9 Apr 2021 16:56:14 +0000 (16:56 +0000)
commita9a6801c6dcbe2baa989453e2c95c80388888879
tree3336892ea06f642175afbe0fc754bae1c9edd814
parent76860933f0a31c0abd1b26c1f11b25972cda031e
Merge pull request #19884 from danielenricocahall:fix-prediction-features-bug

Fix bug with predictions in RTrees/Boost

* address bug where predict functions with invalid feature count in rtrees/boost models

* compact matrix rep in tests

* check 1..n-1 and n+1 in feature size validation test
modules/ml/src/boost.cpp
modules/ml/src/rtrees.cpp
modules/ml/test/test_rtrees.cpp