Starlitnightly / omicverse

A python library for multi omics included bulk, single cell and spatial RNA-seq analysis.
https://starlitnightly.github.io/omicverse/
GNU General Public License v3.0
474 stars 57 forks source link

ov.utils.cluster:LinAlgError: 28-th leading minor of the array is not positive definite,ValueError: Fitting the mixture model failed because some components have ill-defined empirical covariance (for instance caused by singleton or collapsed samples). Try to decrease the number of components, or increase reg_covar. #210

Closed GhostInTheShellwjc closed 2 weeks ago

GhostInTheShellwjc commented 2 weeks ago

Hello!When I run the code in Spatial clustering and denoising expressions,it raises LinAlgError: 28-th leading minor of the array is not positive definite,ValueError: Fitting the mixture model failed because some components have ill-defined empirical covariance (for instance caused by singleton or collapsed samples). Try to decrease the number of components, or increase reg_covar.I really follow the tutorial and I don't know how to solve it.Hopefully someone could help me. versions:scipy==1.11.4,scikit-learn==1.5.2,numpy==1.26.4

屏幕截图 2024-11-10 113911