Skip to content

ModuleNotFoundError: No module named 'cca_zoo.models' #203

@escheer

Description

@escheer

Hello,

Thank you for this excellent package. I am able to use the code by importing functions from cca_zoo.linear or cca_zoo.nonparametric, etc. as detailed in the API: https://cca-zoo.readthedocs.io/en/latest/modules/classes.html, but many of the examples listed in the User's Guide and elsewhere in the documentation suggest usage of "from cca_zoo.models import ...". It appears that the models module does not exist as this import statement fails. Perhaps this is from an older version of the code?

My question is whether all of the old sparsity models you have documented here:
https://cca-zoo.readthedocs.io/en/v1.10.3/api/models.html?highlight=elastic#sparsity-inducing-models
are also to be found in some other format via importing from cca_zoo.linear, etc.? Including: PMD, SCCA, ElasticCCA, SCCA_ADMM, SpanCCA
It looks like: cca_zoo.models.PMD = cca_zoo.linear.SPLS,
cca_zoo.models.SCCA = cca_zoo.linear.SCCA_IPLS,
cca_zoo.models.ElasticCCA = cca_zoo.linear.ElasticCCA
cca_zoo.models.SCCA_ADMM = ?
cca_zoo.models.SpanCCA = cca_zoo.linear.SCCA_Span

Did I get that right? If you could explain the correspondence between the older documentation and the new, that would be wonderful! Thank you very much.

-Elias

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions