Скачать книгу

by selecting from y the components related to the node (the edges) in S.

      For example, lne[n] stands for the vector containing the labels of all the neighbors of n. Labels usually include features of objects related to nodes and features of the relationships between the objects. No assumption is made regarding the arcs: directed and undirected edges are both permitted. However, when different kinds of edges coexist in the same dataset, it is necessary to distinguish them. This can be easily achieved by attaching a proper label to each edge. In this case, different kinds of arcs turn out to be just arcs with different labels.

      The considered graphs may be either positional or nonpositional. Nonpositional graphs are those that have been described thus far; positional graphs differ from them since a unique integer identifier is assigned to each neighbor of a node n to indicate its logical position. Formally, for each node n in a positional graph, there exists an injective function νn : ne[n] → {1, …, ∣ N∣}, which assigns to each neighbor u of n a position νn(u).

      The domain is the set images of pairs of a graph and a node, that is, images, where images is a set of the graphs and images is a subset of their nodes. We assume a supervised learning framework with the learning set

      where ln, lco[n], xne[n] , and lne[n] are the label of n, the labels of its edges, the states, and the labels of the nodes in the neighborhood of n, respectively.

Schematic illustration of a subset of the Web. Schematic illustration of graph and the neighborhood of a node. The state x1 of node 1 depends on the information contained in its neighborhood.

      Source: Scarselli et al. [1].

      For positional graphs, fw must receive the positions of the neighbors as additional inputs. In practice, this can be easily achieved provided that information contained in xne[n], lco[n] , and lne[n] is sorted according to neighbors’ positions and is appropriately padded with special null values in positions corresponding to nonexistent neighbors. For example, xne[n] = [y1, …, yM], where M = maxn, u vn(u) is the maximum number of neighbors of a node; yi = xu holds, if u is the i‐th neighbor of n(νn(u) = i); and yi = x0 , for some predefined null state x0 , if there is no i‐th neighbor.

      For nonpositional graphs, it is useful to replace function fw of Eq.

Скачать книгу