FenTechSolutions / CausalDiscoveryToolbox

Package for causal inference in graphs and in the pairwise settings. Tools for graph structure recovery and dependencies are included.
https://fentechsolutions.github.io/CausalDiscoveryToolbox/html/index.html
MIT License
1.08k stars 198 forks source link

issue in tutorial #23

Closed stylianos-kampakis closed 5 years ago

stylianos-kampakis commented 5 years ago

print(nx.adj_matrix(output_graph)).todense() does not work. It requires

print(nx.adjacency_matrix(output_graph)).todense()

instead

diviyank commented 5 years ago

Oh right; thanks for the quick feedback ! Best, Diviyan

diviyank commented 5 years ago

Hi again, Weird, for me both calls nx.adj_matrix and nx.adjacency_matrix work. However, there was a typo on that line (parentheses were not correct).

diviyank commented 5 years ago

I will be closing this issue, as it should be solved. Don't hesitate to reopen it if the bug still persists in the latest version. Best, Diviyan