MIDASverse / MIDASpy

Python package for missing-data imputation with deep learning
Apache License 2.0
125 stars 35 forks source link

Deprecation warnings to fix #29

Closed tsrobinson closed 10 months ago

tsrobinson commented 1 year ago

Getting the following warning as part of training cycle:

FutureWarning: Passing a dict as an indexer is deprecated and will raise in a future version. Use a list instead.
  data_1 = data[subset]

We should update to future-proof asap.

tsrobinson commented 1 year ago

Also had a report that from NumPy v1.24.0 our codebase is exiting with error due to following issue:

Error: AttributeError: module 'numpy' has no attribute 'object'.np.objectwas a deprecated alias for the builtinobject.

Since this was only ever an alias, should be trivial to rectify in the codebase by replacing np.object with object. @edvinskis could you take a look when you have a second?

edvinskis commented 10 months ago

The issues have been addressed in v1.2.4. I'll be closing this issue now.