Skip to content

Implementation Robust Principal Component Analysis (RPCA) for EEG Noise Detection #7048

Closed
NeuroDataDesign/mne-python
#1

Description

@rbechto2

Describe the problem

Currently, MNE has no Robust Principal Component Analysis (RPCA) implementation and I think it would be a great addition to MNE's functionality. RPCA is a method to remove correlations from a data set, which works well with very corrupted data. RPCA is used to recover a low-rank matrix L and sparse matrix S from highly corrupted measurements, M = L + S.

Describe your solution

To implement an RPCA function using the Alternating Direction Method of Multipliers (ADMM) optimization method in order to detect noise in a data set.

  • Noise Detection
  • Noise Removal

Describe possible alternatives

There are different algorithms that can be used to implement RPCA optimization such as Augmented Lagrange Multiplier (ALM), Fast Alternating Minimization (FAM), or Iteratively Reweighted Least Squares (IRLS) method.

@adam2392

Activity

  1. agramfort commented on Nov 12, 2019

    @agramfort
    SponsorMember
  2. rbechto2 commented on Nov 18, 2019

    @rbechto2
    Author

    Hey @agramfort!

    I found some great papers that demonstrate the benefits of RPCA on EEG data. The most common application is to use RPCA in order to improve tolerance to variability in EEG signals from trial to trial or day to day experiments and thus improving classification performance.

    I also believe that this could be a useful function directly implemented to the mne package. I'd love to discuss this with you further. Thank you!

    Papers:
    -"Improving Cross-Day EEG-Based Emotion Classification Using Robust Principal Component Analysis" (https://www.ncbi.nlm.nih.gov/pubmed/28769778)

    -"Using Robust Principal Component Analysis to Reduce EEG Intra-Trial Variability"
    ( https://www.ncbi.nlm.nih.gov/pubmed/30440781)

  3. agramfort commented on Nov 18, 2019

    @agramfort
    SponsorMember
  4. Pranay144 commented on Nov 27, 2019

    @Pranay144

    Does this issue still need work?
    If yes, i can work on it.

  5. adam2392 commented on Nov 27, 2019

    @adam2392
    Member

    @rbechto2 and our group at JHU is working on it within the context of pyautomagic and will link a demo when done. If the RPCA is general enough it would be awesome to just add into mne directly.

    Hope to have something by December preliminarily!

  6. larsoner commented on Mar 4, 2020

    @larsoner
    Member

    Closing in favor of the pyAutomagic issue #7098

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions