EFS-OpenSource / calibration-framework

The net:cal calibration framework is a Python 3 library for measuring and mitigating miscalibration of uncertainty estimates, e.g., by a neural network.
https://efs-opensource.github.io/calibration-framework/
Apache License 2.0
336 stars 42 forks source link

Numpy explicit dtypes #35

Closed fabiankueppers closed 1 year ago

fabiankueppers commented 1 year ago

According to https://numpy.org/doc/stable/release/1.20.0-notes.html#deprecations, the "generic" Numpy dtypes np.float and np.int were deprecated and have been removed in the latest Numpy release 1.24.0 according to https://numpy.org/doc/stable/release/1.24.0-notes.html#expired-deprecations . An update is required to remove the "generic" dtypes completely.