Skip to content

Feature to add nodes with no edges in the graph #113

@srivhash

Description

@srivhash

Why does Bnlearn not support the addition of nodes into a graph which do not have any incoming or outgoing edges?
The R package seems to have add.node() implemented. Even simple networkx graphs support addition of nodes easily even if they have no incoming or outgoing edges.
I did see it is because the DAG that is implemented is as a list of edges, but this needs to change I believe. For example, if people ran causal discovery methods and had to measure accuracy, precision or recall against a ground truth graph.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions