[core] fix slow predict-caching with many classes (#3109)
* fix prediction caching inefficiency for multiclass * silence some warnings * redundant if * workaround for R v3.4.3 bug; fixes #3081
This commit is contained in:
committed by
GitHub
parent
cf19caa46a
commit
9ffe8596f2