Chebyshev Convolution
- class ChebyConvolve(L)[source]
Bases:
objectChebyshev polynomial graph convolution context.
Approximates spectral graph filters using Chebyshev polynomials of the first kind via the recurrence relation.
- Parameters:
L (
csc_matrix) – Sparse Graph Laplacian.
- convolve(B, C)[source]
Performs graph convolution using Chebyshev polynomial approximation.
- Parameters:
B (
ndarray) – Input signal of shape (n_vertices,) or (n_vertices, n_signals).C (
ChebyKernel) – Chebyshev kernel with coefficients and spectral bound.
- Returns:
Convolved signal of shape (n_vertices, n_signals, n_dims) or (n_vertices, n_dims) for 1D input.
- Return type: