scikit-learn/scikit-learn — pull request #3816 by yamaguchiyuto (2014-10-31 03:36:55+00:00)
Title: Modified sklearn/semi_supervised/label_propagation.py to accept cosine similarity as its kernel

This update enables semi_supervised to accept cosine similarity as its kernel.

I think semi supervised learning is a good option to classify text documents, which requires cosine similarity as its kernel to achieve better accuracy because the feature vectors from text documents go very sparse.