32a5233d12
### What changes were proposed in this pull request? 1, expose predictRaw and predictProbability 2, add tests ### Why are the changes needed? single instance prediction is useful out of spark, specially for online prediction. Current `predict` is exposed, but it is not enough. ### Does this PR introduce any user-facing change? Yes, new methods are exposed ### How was this patch tested? added testsuites Closes #27015 from zhengruifeng/expose_raw_prob. Authored-by: zhengruifeng <ruifengz@foxmail.com> Signed-off-by: zhengruifeng <ruifengz@foxmail.com> |
||
---|---|---|
.. | ||
src/main | ||
pom.xml |