novonordisk-research/ProcessOptimizer

Deprecation warning

Closed this issue · 1 comments

sqbl commented

When running the tests, there is a single instance of this warning:

ProcessOptimizer/tests/test_gbrt.py::test_gbrt_with_std
  /home/runner/work/ProcessOptimizer/ProcessOptimizer/ProcessOptimizer/learning/gbrt.py:113: DeprecationWarning: `in1d` is deprecated. Use `np.isin` instead.
    is_present_mask = np.in1d(std_quantiles, self.quantiles)