Difference between revisions of "Orange: Single Mode"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "Sumber: https://orange.biolab.si/widget-catalog/networks/singlemode/ Convert multimodal graphs to single modal. Inputs Network: An instance of a bipartite network grap...")
 
Line 13: Line 13:
  
 
Single Mode works with bipartite networks, where subsets are marked with a binary discrete attribute. The widget outputs a network where nodes represent the selected value (e.g. persons) and edges the remaining value (e.g. event). The widget also works with non-binary discrete attributes, but will treat them as binary (one-versus-all).
 
Single Mode works with bipartite networks, where subsets are marked with a binary discrete attribute. The widget outputs a network where nodes represent the selected value (e.g. persons) and edges the remaining value (e.g. event). The widget also works with non-binary discrete attributes, but will treat them as binary (one-versus-all).
 +
 +
[[File:Single-Mode-stamped.png|center|200px|thumb]]
  
 
     Mode indicator:
 
     Mode indicator:
Line 21: Line 23:
 
     Information on the output network.
 
     Information on the output network.
  
####Edge weights
+
==Edge weights==
 +
 
 +
[[File:Single-Mode-weights.png|center|200px|thumb]]
  
 
     No weights: all weights are set to 1.
 
     No weights: all weights are set to 1.
Line 28: Line 32:
  
 
For details and for description of other options, see Vlado Batagelj’s Introduction to Network Science using Pajek, section 7, page 38.
 
For details and for description of other options, see Vlado Batagelj’s Introduction to Network Science using Pajek, section 7, page 38.
Example
+
 
 +
==Contoh==
  
 
For this example we have used the famous davis data set that describes ladies from the south of the United States and the events they have participated in. The network thus consists of nodes that are either persons or events. Node role is described in the attribute role. We load the network with Network File.
 
For this example we have used the famous davis data set that describes ladies from the south of the United States and the events they have participated in. The network thus consists of nodes that are either persons or events. Node role is described in the attribute role. We load the network with Network File.
Line 38: Line 43:
 
Network Explorer (1) shows the final network.
 
Network Explorer (1) shows the final network.
  
 
+
[[File:Single-Mode-Example.png|center|200px|thumb]]
  
  

Revision as of 12:26, 25 January 2020

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


Convert multimodal graphs to single modal.

Inputs

   Network: An instance of a bipartite network graph.

Outputs

   Network: An instance of single network graph.

Single Mode works with bipartite networks, where subsets are marked with a binary discrete attribute. The widget outputs a network where nodes represent the selected value (e.g. persons) and edges the remaining value (e.g. event). The widget also works with non-binary discrete attributes, but will treat them as binary (one-versus-all).

Single-Mode-stamped.png
   Mode indicator:
       Feature: discrete feature labeling network subsets.
       Connect: value used as nodes.
       by: value used as edges.
   Edge weights: compute weights for the output network.
   Information on the output network.

Edge weights

Single-Mode-weights.png
   No weights: all weights are set to 1.
   Number of connections: weights correspond to the number of common connections (e.g. events the two people participated in).
   Weighted number of connections: weights correspond to the sum of the product of original edge weights that connect each person with the event.

For details and for description of other options, see Vlado Batagelj’s Introduction to Network Science using Pajek, section 7, page 38.

Contoh

For this example we have used the famous davis data set that describes ladies from the south of the United States and the events they have participated in. The network thus consists of nodes that are either persons or events. Node role is described in the attribute role. We load the network with Network File.

We see the original file in Network Explorer. The blue nodes are events and the red ones are persons. Events are attended by persons. A node connects a person with the event, if the person attended the event. Now we can observe which people attended the same event or, conversely, which events were attended by the same people.

In Single Mode we set the feature describing the role of the nodes. It so happens that our attribute is named role. We connect persons (nodes) with the events they attended (edges). Edge weight will be the number of connections in common. In translation, edge weights will be the number of events both people attended.

Network Explorer (1) shows the final network.

Single-Mode-Example.png


Referensi

Pranala Menarik