Diagnose and Fix StandardScaler Memory Growth on Sparse Matrices
StandardScaler(with_mean=True) can break sparsity in CSR/CSC matrices and cause sudden memory growth. Use with_mean=False and verify output type.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
StandardScaler(with_mean=True) can break sparsity in CSR/CSC matrices and cause sudden memory growth. Use with_mean=False and verify output type.