Skip to content

Compatibility with scikit-learn v. 0.20 (RandomizedPCA module was removed) #9

Description

@aron0093

I get the following error:

Traceback (most recent call last): File "../../../scripts/slalom_AVM.py", line 2, in <module> import slalom File "/cluster/home/rgupta/miniconda3/lib/python3.6/site-packages/slalom/__init__.py", line 11, in <module> from .utils import (initFA, load_hdf5, load_txt, preTrain, plotLoadings, plotFactors, plotRelevance, saveFA, dumpFA) File "/cluster/home/rgupta/miniconda3/lib/python3.6/site-packages/slalom/utils.py", line 15, in <module> from sklearn.decomposition import RandomizedPCA,PCA ImportError: cannot import name 'RandomizedPCA'

As of version 0.20 the RandomizedPCA module has been removed from scikit-learn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions