[ML] Add setMatrixSparsity.
[PL] GW: Use node adjacency table.