preprocess_arma_conv: Preprocess Adjacency Matrix for use with layer_arma_conv

Description Usage Arguments

View source: R/preprocess.R

Description

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

Usage

1

Arguments

A

An Adjacency matrix (can be dense or sparse)


rdinnager/rspektral documentation built on June 12, 2021, 1:26 a.m.