scikit-learn/scikit-learn — pull request #514 by fannix (2011-12-24 05:29:33+00:00)
Title: Disallow negative tf-idf weight

Add the same smoothing count to n_samples to avoid negative weight.