You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wenn using tranquilo in estimagic, the following warning is raised:
/tranquilo/aggregate_models.py:72: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) intercept = float(vector_model.intercepts)
TODO
Under the assumption that vector_model.intercepts has size == 1, we should use np.item to copy the element into a standard Python object:
intercept=vector_model.intercepts.item()
The text was updated successfully, but these errors were encountered:
Wenn using
tranquilo
in estimagic, the following warning is raised:TODO
Under the assumption that
vector_model.intercepts
has size == 1, we should use np.item to copy the element into a standard Python object:The text was updated successfully, but these errors were encountered: