causaldag icon indicating copy to clipboard operation
causaldag copied to clipboard

error when running DCI gene expression tutorial

Open 7ehuang opened this issue 3 years ago • 3 comments

Hello, I am trying to run the tutorial for DCI for gene expression data: https://github.com/uhlerlab/causaldag/blob/master/docs/dci_tutorial.markdown

However, when I run d_dag = dci(X1, X2, alpha_ug = 0.001, alpha_skeleton=0.5, alpha_orient=0.001, max_set_size=3, verbose=1) as specified by the tutorial, I get NameError: name 'difference_ug' is not defined. Do you know what may be causing this error? I am using the same input files as the tutorial and installed DCI into my jupyter notebook using !pip install --user causaldag.

Thanks!

Best, Elaine

7ehuang avatar Apr 29 '21 18:04 7ehuang

Hello,

I also get this error when I try to reproduce the DCI tutorial. I would love to be able to make use of this package, so any advice on fixing this would be greatly appreciated. Thank you!

Best wishes, Axel.

axelalmet avatar Sep 09 '21 19:09 axelalmet

Hello, I am trying to run the tutorial for DCI for gene expression data: https://github.com/uhlerlab/causaldag/blob/master/docs/dci_tutorial.markdown

However, when I run d_dag = dci(X1, X2, alpha_ug = 0.001, alpha_skeleton=0.5, alpha_orient=0.001, max_set_size=3, verbose=1) as specified by the tutorial, I get NameError: name 'difference_ug' is not defined. Do you know what may be causing this error? I am using the same input files as the tutorial and installed DCI into my jupyter notebook using !pip install --user causaldag.

Thanks!

Best, Elaine

limenglingll avatar Oct 28 '21 07:10 limenglingll

when I delete "verbose=1" or set "verbose=0", the error disappear!

qiuju-Zhang avatar Oct 06 '22 10:10 qiuju-Zhang