Giter Site home page Giter Site logo

Comments (2)

nbara avatar nbara commented on August 26, 2024

Hi @OleBialas

This is a visual representation of the steps performed by DSS (from de Cheveigné & Parra, 2014) :

alt text

You can see there are 2 PCA steps involved. nkeep1 specifies the number of components to keep in these two PCAs, not in the overall DSS algorithm.

One you have truncated your data after the first PCA, the second PCA will naturally not look the same.

I would not suggest you change the nkeep1 parameter unless you have good reason to do so (for example if you have many many channels with lots of redundancy). In your case I would probably stick with nkeep1=None which keeps all (non-negligible) components.

from python-meegkit.

OleBialas avatar OleBialas commented on August 26, 2024

I am aware of the paper - I actually tried to implement the algorithm myself until I found this nice package :)

I thought the keep parameter refers to the components kept after the final rotation (since the paper does not mention rejecting components after the first PCA), which can then be used for a second rotation to enhance the difference between conditions.

If the rejection happens after the first PCA it's perfectly clear why the results look different - thank you!

from python-meegkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.