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
Hi, I am getting many of these warnings with ShapeletTransform:
D:\Anaconda3\envs\tipjar\lib\site-packages\numpy\core\_asarray.py:83: 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
return array(a, dtype, copy=False, order=order)
Steps/Code to Reproduce
st = ShapeletTransform(n_jobs=cpus)
features = st.fit_transform(X_trn_seg, y_trn_seg)
Thanks for the report. If I had to guess, I would say that this warning is raised when the shapelets are saved as an array of arrays and the dtype is not specified when creating this array:
Description
Hi, I am getting many of these warnings with ShapeletTransform:
Steps/Code to Reproduce
Versions
NumPy 1.19.1
SciPy 1.4.1
Scikit-Learn 0.23.1
Numba 0.49.1
Pyts 0.11.0
The text was updated successfully, but these errors were encountered: