facebookresearch / nevergrad

A Python toolbox for performing gradient-free optimization
https://facebookresearch.github.io/nevergrad/
MIT License
3.9k stars 350 forks source link

Depreciation warning from numpy #1502

Closed londumas closed 10 months ago

londumas commented 1 year ago

Depreciation warning from numpy

Name: numpy Version: 1.24.2 Name: nevergrad Version: 0.6.0

https://github.com/facebookresearch/nevergrad/blob/8087bca851f5538f17f8a06a418ca77a5604c700/nevergrad/optimization/utils.py#L271

.../python3.8/site-packages/nevergrad/optimization/utils.py:270: DeprecationWarning: the `interpolation=` argument to quantile was renamed to `method=`, which has additional options.
Users of the modes 'nearest', 'lower', 'higher', or 'midpoint' are encouraged to review the method they used. (Deprecated NumPy 1.22)
  quantiles[name] = np.quantile(
teytaud commented 10 months ago

Should be solved in 0.13.0, thanks @londumas !