phausamann / sklearn-xarray

Metadata-aware machine learning.
http://bit.do/sklearn-xarray
BSD 3-Clause "New" or "Revised" License
102 stars 12 forks source link

Provide a unified wrapping mechanism #6

Closed phausamann closed 6 years ago

phausamann commented 6 years ago

There should be only one wrap function in the root namespace that automatically determines at fit time whether we're dealing with a DataArray, a Dataset or just a numpy array (similar to what the transformers in the preprocessing module do).