glum
glum copied to clipboard
Add `use_sparse_hessian` functionality to prevent a dense Hessian from being instantiated
When use_sparse_hessian=True, state.hessian is stored as a sparse COO matrix. Partially addresses Issue #485 -- the dataset with 4M+ columns can now run without a memory error.