Skip to content

ICA should not touch init parameter n_pca_components during fit #8327

Closed

Description

@hoechenberger

This is what currently happens in ICA._fit(), which is invoked by ICA.fit():

if self.n_pca_components is not None:
if self.n_pca_components > len(self.pca_components_):
self.n_pca_components = len(self.pca_components_)

We should have ICA.n_pca_components_ instead (currently doesn't exist).

Activity

  1. larsoner commented on Oct 1, 2020

    @larsoner
    Member

    Agreed this is a bug

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions