use `sklearn.utils.extmath.safe_sparse_dot` for this and wherever else this pops up.