Views
No views yet
study_name, label = standard_true_celltype),
over all 109,543 cells:| model | KNI | cross-study acc | batch diversity |
|---|---|---|---|
| this model | 0.7153 | 0.7182 | 0.995 |
| BA-scVI (published) | 0.7110 | 0.712 | 0.999 |
| PCA baseline | 0.470 | - | - |
calc_kni_score and our implementation (0.7110 /
0.7114), so the two numbers are directly comparable.gene_list.txt; order matters)1import torch
2ck = torch.load("bascvi_scmark_epoch63.ckpt", map_location="cpu", weights_only=False)
3gene_list = ck["hyper_parameters"]["gene_list"] # 35,804 HGNC symbols, input ordergene_list order; the model applies
log(1 + 1e4 * x / x.sum()) internally. Embed via
forward(batch, encode=True, predict_mode=True)["qz_m"], which zeroes the batch
vector — the latent is what you score.