mne-tools / mne-tools/mne-python
Suggestion: Write classes for classification and statistics
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 1.6k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 100
Description
hi,
i am currently doing my first analysis in MNE. i got aware that at a lot of steps in the workflow, data is conveniently represented in classes (raw, epochs, average, TFR, etc....). this seems to be lacking for classification and statistics.
as i am going to wrap these two things in classes anyhow to make my life easier, i thought it would be a good idea to ask for your input first because if it is deemed useful by you, i would be happy to contribute the code to MNE.
my current idea is basically to make statistics results a subclass of Average (for evoked data, haven't thought about tfr data yet...). it would need some additional fields but it could basically reuse a lot of functionality, because it is quite similar.
classification seems a bit less straight forward because the "main" result is the scores and one would need to take care of folds, weights and projections.
so, i am curious what you think!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, entry point, or concrete acceptance criteria is named. Start by reviewing the existing Raw, Epochs, Average, and TFR class APIs alongside the discussion, then establish whether statistics and classification need separate result models; done requires an agreed scope and design before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data, machine-learning
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100