Ticket #1054 (new wish)

Opened 3 years ago

Last modified 3 years ago

Add a network output signal to widgets.

Reported by: miha Owned by: janez
Milestone: Future Component: canvas
Severity: minor Keywords:
Cc: Blocking:
Blocked By:


We would like to have network output signals for widgets with inherent network structure:

Classification Tree, Random Forest, Regression Tree, RF Regression, Hierarchical Clustering, Interaction Graph, Association Rules and Itemsets ?

Change History

comment:1 Changed 3 years ago by miha

Notes from  Orange.network reference

# create directed graph

net = Orange.network.DiGraph()

# add nodes, id must correspond to items Orange.data.Table row index!


net.add_nodes_from([id1, id2, ...])

# add edges

net.add_edge(u, v) or net.add_edge(u, v, {'weight': w})

net.add_edges_from([(u1, v1), (u2,v2), ...]) or net.add_edges_from([(u1, v1, {'weight': w1}), (u2, v2, {'weight': w2}), ...])

# build items Orange.data.Table # add items to network


comment:2 Changed 3 years ago by janez

Perhaps we should split this into multiple tickets and assign them to different people. I have added a method to Orange.classification.tree.TreeClassifier.to_network that can handle classification and regression trees. I haven't checked the network and only briefly verified the table; this will be easier to check in canvas.

Note: See TracTickets for help on using tickets.