<div dir="ltr">Hi,<div><br></div><div>I usually encounter many cases when I've forgotten that my input to the `AnyEstimator.fit` method is a sparse matrix, and I've set `fit_intercept=False`.</div><div><br></div><div>To avoid this, I could of course make a habit of not tampering with the default `fit_intercept=True`, but I think it would be better and more idiot-proof if the method raises a warning saying something like,</div><div><br></div><div>"fit_intercept=False works best when the data is centered, and sparse matrices can't be centered. Please set fit_intercept=True for better results."</div><div><br></div><div>What do you think? If doing this is worthwhile, I'll send a PR.</div><div><br></div><div>Thanks!</div></div>