This utility function can be used to preprocess a network adjacency matrix
into an object that can be used to represent the network in the layer_arma_conv
layer.
Internally it does this:
fltr=utils_normalized_laplacian(A,symmetric=True)
fltr=utils_rescale_laplacian(fltr,lmax=2)
fltr
1 |
A |
An Adjacency matrix (can be dense or sparse) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.