Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xarray wishlist for ML #3

Open
jhamman opened this issue Feb 27, 2019 · 2 comments
Open

Xarray wishlist for ML #3

jhamman opened this issue Feb 27, 2019 · 2 comments

Comments

@jhamman
Copy link
Member

jhamman commented Feb 27, 2019

@mrocklin has started an impromptu xarray feature wishlist focusing mainly uses of Xarray for machine learning. It would be great to get some input from this group on the subject. There is an editable google doc here.

This issue can also be used for some discussion on the topic.

@jhamman
Copy link
Member Author

jhamman commented Oct 4, 2019

@choldgraf pointed me to Nilearn, a package for machine learning for Neuro-Imaging in Python. Seems like an interesting example of how a specific domain has built convenience tools around ML workflows.

@choldgraf
Copy link

Nilearn integrates heavily with scikit-learn, the simplest explanation for it is that it basically knows how to go from N-dimensional brain-relevant shapes to 2-dimensional "samples by features" shapes and back again. Over time it's also built up a bunch of convenience visualization, I/O, etc functions as well.

Another package from the neuro world (that I'm a bit more familiar with) is a tool called MNE-Python, which focuses on electrophysiology as opposed to MRI. This has a few internal data structures (that I suspect would be XArrays if it were to be created now) and has some convenience functionality for Machine Learning too - in this case, it's more about exposing some common model fitting techniques in electrophysiology, such as receptive fields and supervised learning using sensor data.

When I was last working on this project in-force, we were starting to put together classes that performed neuro-relevant operations but behaved like scikit-learn preprocessors (and so could be included in pre-processing chains). Perhaps that could be inspiration as well - here's a link to some ML examples if they're helpful.

I suspect a lot of that functionality could be simplified if we had a metadata-rich data structure like XArray under the hood (if I ever get a chance to be a neuroscientist again, I suspect this will be a project I'd like to try out)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants