You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the errors below and I am not sure what is wrong. When I run the above without the low_res parameter it completes 10-12 rounds successfully (however it seems to prefer under clustering, hence wanting to try running it with low_res set).
Round1 ...
Mean CV accuracy: 0.8799
Accuracy on the training set: 0.9441
Accuracy on the hold-out set: 0.8487
Accuracy on the training set: 0.9506
Accuracy on the hold-out set: 0.8477
Accuracy on the training set: 0.9435
Accuracy on the hold-out set: 0.8421
Max R1mat: 0.652632
Max R2mat: 0.006597
min_acc: 0.842117
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/bin/miniconda2/envs/myPythonEnv/lib/python3.7/site-packages/SCCAF/init.py", line 654, in SCCAF_optimize_all
*args, **kwargs)
File "/usr/local/bin/miniconda2/envs/myPythonEnv/lib/python3.7/site-packages/SCCAF/init.py", line 861, in SCCAF_optimize
zmat = np.minimum.reduce([(R1mat > R1norm_cutoff), conn_mat.values])
ValueError: operands could not be broadcast together with shapes (50,50) (93,93)
Thanks for your help,
shui
The text was updated successfully, but these errors were encountered:
Hello,
Thanks for developing this useful tool!
We currently use Seurat to preprocess our single cell data and I wanted to try using your tool and took the following steps.
adata = sc.read_loom(FILE)
adata.obs['L1_Round0'] = adata.obs['SCT_snn_res_1.2']
adata.obsm['X_pca'] = adata.obsm['pca_cell_embeddings']
SCCAF_optimize_all(ad=adata, plot=False, min_acc=0.9, prefix ='L1', low_res='SCT_snn_res_0.3', use='pca',n_iter=150)
I get the errors below and I am not sure what is wrong. When I run the above without the low_res parameter it completes 10-12 rounds successfully (however it seems to prefer under clustering, hence wanting to try running it with low_res set).
OUTPUT:
R1norm_cutoff: 0.500000
R2norm_cutoff: 0.050000
Accuracy: 0.000000
Round1 ...
Mean CV accuracy: 0.8799
Accuracy on the training set: 0.9441
Accuracy on the hold-out set: 0.8487
Accuracy on the training set: 0.9506
Accuracy on the hold-out set: 0.8477
Accuracy on the training set: 0.9435
Accuracy on the hold-out set: 0.8421
Max R1mat: 0.652632
Max R2mat: 0.006597
min_acc: 0.842117
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/bin/miniconda2/envs/myPythonEnv/lib/python3.7/site-packages/SCCAF/init.py", line 654, in SCCAF_optimize_all
*args, **kwargs)
File "/usr/local/bin/miniconda2/envs/myPythonEnv/lib/python3.7/site-packages/SCCAF/init.py", line 861, in SCCAF_optimize
zmat = np.minimum.reduce([(R1mat > R1norm_cutoff), conn_mat.values])
ValueError: operands could not be broadcast together with shapes (50,50) (93,93)
Thanks for your help,
shui
The text was updated successfully, but these errors were encountered: