We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For those interested in visualizing Graph or GaussianNetwork objects, I have developed this code:
!pip install networkx import networkx as nx def visualizeGraph(bnGraph): G = nx.DiGraph() G.add_edges_from(bnGraph.arcs(), weight=1) return nx.draw(G, with_labels=True, node_size=1500, node_color='b', alpha=0.6) gbn = bn.GaussianNetwork(['a', 'b', 'c', 'd'], [('a', 'c'), ('b', 'c'), ('c', 'd')]) graph = gbn.graph() visualizeGraph(gbn) visualizeGraph(graph)
The visualizeGraph function could be modified following the networkx documentation as to achieve different results
The text was updated successfully, but these errors were encountered:
No branches or pull requests
For those interested in visualizing Graph or GaussianNetwork objects, I have developed this code:
The visualizeGraph function could be modified following the networkx documentation as to achieve different results
The text was updated successfully, but these errors were encountered: