causaldag
causaldag copied to clipboard
error when running DCI gene expression tutorial
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
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.
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
when I delete "verbose=1" or set "verbose=0", the error disappear!