What it does
Produces an explicit sparse feature encoding. Integer code for the invariant graph encoding is used as a feature indicator. In this way, the integer associated to each feature (i.e. each pair or neighborhood subgraphs of radius r whose roots are at distance d) can be interpreted as the feature key and the (normalized) count of occurrences as its value. This allows to obtain an explicit feature encoding for a given graph G as a sparse vector in ℝ^m (with a very high dimension m).
Parameters