Skip to content

Why is that n_components of PCA in def get_matched_tissue is 4?  #25

@gmh1033286494

Description

@gmh1033286494

I run with no_segement_analysis = False and get this error

ValueError: n_components=4 must be between 0 and min(n_samples, n_features)=2 with svd_solver='full'

So I set n_components = 2 and the code worked but the result is only half of the image.

I am wondering why this happens.
image

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