b0e691f895be4d7d7dbd8a445a6242c567924ee0,mne/preprocessing/ica.py,ICA,__init__,#ICA#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,300

Before Change


            fit_params.update({"extended": True})
        elif method == "picard":
            update = {"ortho": True, "fun": "tanh", "tol": 1e-5}
            fit_params.update({k: v for k, v in update.items() if k
                               not in fit_params})
        if "max_iter" not in fit_params:
            fit_params["max_iter"] = max_iter
        self.max_iter = max_iter
        self.fit_params = fit_params

After Change


            raise ValueError("`method` must be "%s". You passed: "%s"" %
                             ("" or "".join(methods), method))
        if method == "extended-infomax":
            warn("method="extended-infomax" is deprecated and will be removed "
                 "in 0.19. If you want to use Extended Infomax, specify "
                 "method="infomax" together with "
                 "fit_params=dict(extended=True).", DeprecationWarning)
        if not check_version("sklearn", "0.15"):
            raise RuntimeError("the scikit-learn package (version >= 0.15) "
                               "is required for ICA")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: mne-tools/mne-python
Commit Name: b0e691f895be4d7d7dbd8a445a6242c567924ee0
Time: 2019-02-21
Author: clemens.brunner@gmail.com
File Name: mne/preprocessing/ica.py
Class Name: ICA
Method Name: __init__


Project Name: biolab/orange3
Commit Name: 7b17d670d0c9511b742e72e42f4f12ed0cb652bf
Time: 2018-04-26
Author: ales.erjavec@fri.uni-lj.si
File Name: Orange/canvas/config.py
Class Name:
Method Name: open_config


Project Name: jazzband/django-debug-toolbar
Commit Name: 908b49cb7d2d527b701996f0d0b9e1e19e765819
Time: 2013-11-24
Author: aymeric.augustin@m4x.org
File Name: debug_toolbar/settings.py
Class Name:
Method Name: