sparse_filter.py has a sklearn-compatible class. Good to add in pipelines. I didn't actually tried to do this with the original.