Difference between revisions of "Orange: Network Of Groups"

From OnnoWiki
Jump to navigation Jump to search
Line 5: Line 5:
 
Group instances by feature and connect related groups.
 
Group instances by feature and connect related groups.
  
Inputs
+
==Input==
  
    Network: An instance of network graph.
+
Network: An instance of network graph.
    Data: Properties of a network graph.
+
Data: Properties of a network graph.
  
Outputs:
+
==Output==
  
    Network: A grouped network graph.
+
Network: A grouped network graph.
    Data: Properties of the group network graph.
+
Data: Properties of the group network graph.
  
 
Network of Groups is the network version of the group-by operation. Nodes with the same values of the attribute, selected in the dropdown, will be represented as a single node.
 
Network of Groups is the network version of the group-by operation. Nodes with the same values of the attribute, selected in the dropdown, will be represented as a single node.
Line 19: Line 19:
 
[[File:Network-of-Groups-stamped.png|center|200px|thumb]]
 
[[File:Network-of-Groups-stamped.png|center|200px|thumb]]
  
    Information on the input and output network.
+
* Information on the input and output network.
    Select the attribute to group by.
+
* Select the attribute to group by.
    Compute weights:
+
* Compute weights:
        No weights: all weights are set to 1.
+
** No weights: all weights are set to 1.
        Number of connections: weight edges by the number of connections between the groups.
+
** Number of connections: weight edges by the number of connections between the groups.
        Sum of connection weights: weight edges by the sum of weights of connections between the groups. Normalize by geometric mean divides weights by the geometric mean of the number of connections between the two groups.
+
** Sum of connection weights: weight edges by the sum of weights of connections between the groups. Normalize by geometric mean divides weights by the geometric mean of the number of connections between the two groups.
  
 
==Contoh==
 
==Contoh==

Revision as of 12:13, 29 January 2020

Sumber: https://orange.biolab.si/widget-catalog/networks/networkofgroups/


Group instances by feature and connect related groups.

Input

Network: An instance of network graph.
Data: Properties of a network graph.

Output

Network: A grouped network graph.
Data: Properties of the group network graph.

Network of Groups is the network version of the group-by operation. Nodes with the same values of the attribute, selected in the dropdown, will be represented as a single node.

Network-of-Groups-stamped.png
  • Information on the input and output network.
  • Select the attribute to group by.
  • Compute weights:
    • No weights: all weights are set to 1.
    • Number of connections: weight edges by the number of connections between the groups.
    • Sum of connection weights: weight edges by the sum of weights of connections between the groups. Normalize by geometric mean divides weights by the geometric mean of the number of connections between the two groups.

Contoh

In this example we are using airtraffic data set, that we loaded in the Network File widget. We see the entire data set in Network Explorer (1).

Then we use Network of Groups to group the network by the FAA Classifications attribute. All nodes with the same value of this attribute will be represented as a single node in the output. There is an edge between the two nodes, if they share connections in the original network.

The grouped network is shown in Network Explorer.

Network-of-Groups-Example.png


Referensi

Pranala Menarik