Ragged array creation will now always raise a ValueError unless dtype=object is passed. This includes very deeply nested sequences.`
The creation of a HyperModel previously resulted in a deprecation warning:
VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
This has now been changed to result in an error, and therefore we need to change the way the HyperModel is created to avoid this issue if we want to stay up to date with numpy.
The creation of a HyperModel previously resulted in a deprecation warning:
This has now been changed to result in an error, and therefore we need to change the way the HyperModel is created to avoid this issue if we want to stay up to date with
numpy
.