Skip to main content
[Preprint]. 2023 Oct 16:2023.10.11.561797. [Version 1] doi: 10.1101/2023.10.11.561797
Input: H (matrix of neuronal weights), nodes (array detailing which neurons belong to each node)
Output: aggregated_weight_matrix
1: aggregated_weight_matrix = zeros(num_nodes, num_components)
2: for i in range(num_nodes)
3:  for j in range(num_compnents)
1:   aggregated_weight_matrix [i, j] = sum(H [nodes[i], j)