Skip to content

Commit

Permalink
DOC: note on using picard for same solution as other algos (mne-tools…
Browse files Browse the repository at this point in the history
…#8037)

Update mne/preprocessing/ica.py

Co-authored-by: Richard Höchenberger <[email protected]>

Co-authored-by: Richard Höchenberger <[email protected]>
  • Loading branch information
sappelhoff and hoechenberger authored Jul 22, 2020
1 parent 98b87d1 commit 607fb46
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions mne/preprocessing/ica.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,17 @@ class ICA(ContainsMixin):
see :class:`~sklearn.decomposition.FastICA`, :func:`~picard.picard`,
:func:`~mne.preprocessing.infomax`.
.. note:: Picard can be used to solve the same problems as FastICA,
Infomax, and extended Infomax, but typically converges faster
than either of those methods. To make use of Picard's speed while
still obtaining the same solution as with other algorithms, you
need to specify ``method='picard'`` and ``fit_params`` as a
dictionary with the following combination of keys:
- ``dict(ortho=False, extended=False)`` for Infomax
- ``dict(ortho=False, extended=True)`` for extended Infomax
- ``dict(ortho=True, extended=True)`` for FastICA
Reducing the tolerance (set in ``fit_params``) speeds up estimation at the
cost of consistency of the obtained results. It is difficult to directly
compare tolerance levels between Infomax and Picard, but for Picard and
Expand Down

0 comments on commit 607fb46

Please sign in to comment.