-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Dear Author:
Thank you for the great tool for ST analysis.
I was testing my own data following 01_multiple_references.ipynb but ran into error when running glasso(). The ST data was 10X Visium data subsetted to top 2000 HVGs.
Error message:
Traceback (most recent call last):
File "/SGRNJ03/pipline_test/datascience/chenxuezhen/training/licong/sagenet/multi/script/model.py", line 35, in <module>
glasso(adata_r1,n_jobs=5)
File "/SGRNJ/Public/Software/conda_env/ds_scArches/lib/python3.9/site-packages/sagenet/utils.py", line 40, in glasso
cov = GraphicalLassoCV(alphas=alphas, n_jobs=n_jobs).fit(data)
File "/SGRNJ/Public/Software/conda_env/ds_scArches/lib/python3.9/site-packages/sklearn/covariance/_graph_lasso.py", line 986, in fit
self.covariance_, self.precision_, self.n_iter_ = graphical_lasso(
File "/SGRNJ/Public/Software/conda_env/ds_scArches/lib/python3.9/site-packages/sklearn/covariance/_graph_lasso.py", line 304, in graphical_lasso
raise e
File "/SGRNJ/Public/Software/conda_env/ds_scArches/lib/python3.9/site-packages/sklearn/covariance/_graph_lasso.py", line 278, in graphical_lasso
raise FloatingPointError(
FloatingPointError: The system is too ill-conditioned for this solver. The system is too ill-conditioned for this solver
The problem remained unsolved even after I increased the number of iterations. I am not familiar with the algorithm involved so it would really be great if you could please give me some advice!
Thanks in advance!!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels