Orange: Single Mode

From OnnoWiki
Revision as of 12:16, 29 January 2020 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

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


Convert multimodal graphs to single modal.

Input

Network: An instance of a bipartite network graph.

Output

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