-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors in running notebook #7
Comments
I'm also running into this issue, seems like |
Hi, |
Awesome it's working for me now! |
Hello @Naghipourfar, trainer_params = { I am wondering how these hyperparameter values were decided (randomly or by optimized tuning)? If the latter is correct, could you please share how to conduct hyperparameter tuning for CPA model? Thank you very much, and I am looking forward to your feedback. |
…ning techniques added - Mixup added - Documentation added for most of functions - Tutorial notebooks for Combo Sci-plex and Norman et al. updated - FocalLoss added for adversarial training - More efficient pre-processing algorithm added - unnecessary methods removed - GSM notebook removed - dependencies has been updated
Hyperparameter tuner added #46 |
Hello
When trying to run the notebook I run into a few problems:
1)
cpa.CPA.setup_anndata(adata,
drug_key='condition',
dose_key='dose_val',
categorical_covariate_keys=['cell_type'],
control_key='control',
combinatorial=True,
)
TypeError: register_fields() got unexpected keyword arguments {'combinatorial': True} passed without a source_registry.
model = cpa.CPA(adata=adata,
n_latent=256,
loss_ae='gauss',
doser_type='logsigm',
split_key='split',
**ae_hparams,
)
TypeError: init() missing 1 required positional argument: 'n_cat_list'
Are you able to provide solutions?
Thank you
The text was updated successfully, but these errors were encountered: