Replace numpy.float with float
In NumPy 1.20, numpy.float was deprecated, and it was removed completely in NumPy 1.24. It was therefore necessary to replace all occurrences of numpy.float with plain float.
In NumPy 1.20, numpy.float was deprecated, and it was removed completely in NumPy 1.24. It was therefore necessary to replace all occurrences of numpy.float with plain float.