[GRASS-git] [OSGeo/grass-addons] e02cc2: r.learn.ml: fix deprecated joblib import (#324)

Markus Neteler noreply at github.com
Thu Oct 29 01:42:02 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass-addons
  Commit: e02cc2768e74afeddf4e0fdbeb78ef5f0e848500
      https://github.com/OSGeo/grass-addons/commit/e02cc2768e74afeddf4e0fdbeb78ef5f0e848500
  Author: Markus Neteler <neteler at gmail.com>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

  Changed paths:
    M grass7/raster/r.learn.ml/r.learn.ml.py

  Log Message:
  -----------
  r.learn.ml: fix deprecated joblib import (#324)

Fixes `DeprecationWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be installed with: pip install joblib. If this warning is raised when loading pickled models, you may need to re-serialize those models with scikit-learn 0.21+.`

Ref:
https://github.com/scikit-optimize/scikit-optimize/pull/776




More information about the grass-commit mailing list