question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ENH: decoding module 2017

See original GitHub issue

This aims at keeping track of the development related to the Google summer of code 2016 on decoding analyses.

We have quite a lot ongoing PRs, so I thought I would try to organize them here to keep track of the big picture. I’ll edit the post along the issue along the way.

The aim is to make transformers that follow the sklearn API:

pipe = make_pipeline(
    CSP(sfreq=200, None, 30),
    TimeFrequency(),
    SlidingEstimator(make_pipeline(StandardScaler(), LogisticRegression())
)

score = cross_val_score(X=epochs.get_data(), y=epochs.event[:, 2])

For now, we’re focusing on sklearn integration, not high level features (plotting, get_coefs_ etc).

  • Spatial filters:

  • Freq - time/freq transformers:

    • FIX: TemporalFilter: needs refactoring from mne.decoding.FilterEstimator to pass explicit args and not info + BUG in FilterEstimator: #3395, #3471, #3472
    • FIX: PSDEstimator
    • ENH: TimeFrequencyDecomposer #3488
    • ENH: SPoC #4144
    • Time Frequency Decoding object based on covariances / CSP …
    • Power Decoding Estimator based on covariances / CSP: #4138 (example, but need to be converted in object)
  • Continuous signals (raw not epochs)

  • Search lights

    • ENH: SlidingEstimator and GeneralizingEstimator: #3381 #4103
    • ENH: n-dimensional search light #3481
    • FIX: Refactor TimeDecoding & GeneralizationAcrossTime #4103
    • ENH: ‘scoring’ param in SearchLight-like object #3475, #3502, #3833 #4103
    • ENH: option to warm_start from one estimator to the next
    • cross_val_multiscore #4103
    • window_size and step parameter in SlidingEstimator
  • Preprocessing

    • ENH: Scaler: scale channels over all time their corresponding time points to deal with issues related to mix channel types needs refactoring to comply to X y API
    • ENH: Vectorizer: to pass from n-D X to 2D X to be reviewed in https://github.com/mne-tools/mne-python/pull/3409
  • Examples:

    • RSA #3923
    • TimeFrequency Example #4115
    • PSD example #4138
    • get_coef for SlidingEstimator
    • Denoise tutorial
    • ~Frequency generalization #4019~
    • UnsupervisedSpatialFilter example
  • Other:

    • ~partial_fit #3483, #3591~
    • get_coef(pipeline) to retrieve and/or invert_transform linear coefficients if they exist

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jona-sassenhagencommented, Apr 3, 2017

@kingjr , @agramfort 's idea is one which will result in rERP and the receptive field module staying separate forever.

  • rERP becomes restricted to the original idea, allowing only sparse predictors; dense predictors are handled by receptive field module
  • receptive field module should be extended slightly to simply also using sparse predictors (- XDawn and rERP should still be united)
0reactions
kingjrcommented, Aug 4, 2018

How about PCA and then sliding with svm multiclass on the left/right audio/visual dataset ?

On Saturday, 4 August 2018, jona-sassenhagen notifications@github.com wrote:

@kingjr https://github.com/kingjr any idea for an example for UnsupervisedSpatialFilter with the example data? The only thing I can think of is show that you can use an unregularized algorithm when p > n by reducing p in dimensionality via PCA, i.e., for the MEG data with many channels and few trials.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mne-tools/mne-python/issues/3442#issuecomment-410476362, or mute the thread https://github.com/notifications/unsubscribe-auth/AEp7DPMjiTgyOOWCHNAnB7cb8KjPACRaks5uNgcxgaJpZM4JRF5A .

Read more comments on GitHub >

github_iconTop Results From Across the Web

CSP transform doesn't comply with sklearn API · Issue #3583 · mne ...
Typically, if I want to do a dim reduction by CSP e.g. make_pipeline(CSP(), TimeFrequency()) the current API can't work. I don't think there's...
Read more >
Usage — ESPnet 202211 documentation - GitHub Pages
espnet/ # Python modules utils/ # Utility scripts of ESPnet test/ # Unit ... ASR decoding: ESPnet also supports the GPU-based decoding for...
Read more >
Example of Decoding Module at Eve - ResearchGate
This paper aims to propose a solution to enhance security during surgery between the site of surgery (local site) and the site that...
Read more >
Multi-level pooling encoder–decoder convolution neural ...
The encoder module acts as an image feature extractor. In each level of the encoder part, the input image features are extracted and...
Read more >
arXiv:2007.07542v2 [cs.CV] 17 Jul 2020
a novel position enhancement branch, and dynamically fuse its outputs with those of the decoder attention module for scene text recognition.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found