preprocess_cheb_conv: Preprocess Adjacency Matrix for use with layer_cheb_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_cheb_conv layer. Internally it does this:
L=utils_normalized_laplacian(A)
L=utils_rescale_laplacian(L)
L

Usage

1

Arguments

A

An Adjacency matrix (can be dense or sparse)


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