pygbm icon indicating copy to clipboard operation
pygbm copied to clipboard

_update_raw_predictions() throws a deprecation warning

Open NicolasHug opened this issue 6 years ago • 1 comments

Passing lists to njitted functions is deprecated by numba and will soon stop being supported.

_update_raw_predictions throws a deprecation warning now.

I'm not sure what the workaround is. I opened https://github.com/numba/numba/issues/4276 to ask the Numba folks

NicolasHug avatar Jul 04 '19 19:07 NicolasHug

Numba should be issuing a NumbaPendingDeprecationWarning, list reflection is not scheduled for deprecation yet as a functional replacement is required to do this, so at present Numba is just giving advanced warning that it will be deprecated. The schedule for changes is here http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#schedule

stuartarchibald avatar Jul 05 '19 12:07 stuartarchibald