{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6692","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6692/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6692/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6692/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/6692","id":149970574,"number":6692,"title":"cosine as kernel for label propagation","user":{"login":"yamaguchiyuto","id":1411817,"avatar_url":"https://avatars.githubusercontent.com/u/1411817?v=3","gravatar_id":"","url":"https://api.github.com/users/yamaguchiyuto","html_url":"https://github.com/yamaguchiyuto","followers_url":"https://api.github.com/users/yamaguchiyuto/followers","following_url":"https://api.github.com/users/yamaguchiyuto/following{/other_user}","gists_url":"https://api.github.com/users/yamaguchiyuto/gists{/gist_id}","starred_url":"https://api.github.com/users/yamaguchiyuto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yamaguchiyuto/subscriptions","organizations_url":"https://api.github.com/users/yamaguchiyuto/orgs","repos_url":"https://api.github.com/users/yamaguchiyuto/repos","events_url":"https://api.github.com/users/yamaguchiyuto/events{/privacy}","received_events_url":"https://api.github.com/users/yamaguchiyuto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-04-21T05:26:16Z","updated_at":"2016-04-25T00:28:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/6692","html_url":"https://github.com/scikit-learn/scikit-learn/pull/6692","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/6692.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/6692.patch"},"body":"<!--\r\nThanks for contributing a pull request! Please ensure you have taken a look at\r\nthe contribution guidelines: https://github.com/scikit-learn/scikit-learn/blob/master/CONTRIBUTING.md#Contributing-Pull-Requests\r\n-->\r\n#### Reference Issue\r\n<!-- Example: Fixes #1234 -->\r\nFix: #3816\r\n\r\n#### What does this implement/fix? Explain your changes.\r\nThis update enables semi_supervised to accept cosine similarity as its kernel.\r\n\r\n#### Any other comments?\r\nI 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.\r\n\r\n\r\n<!--\r\nPlease be aware that we are a loose team of volunteers so patience is\r\nnecessary; assistance handling other issues is very welcome. We value\r\nall user contributions, no matter how minor they are. If we are slow to\r\nreview, either the pull request needs some benchmarking, tinkering,\r\nconvincing, etc. or more likely the reviewers are simply busy. In either\r\ncase, we ask for your understanding during the review process.\r\nFor more information, see our FAQ on this topic:\r\nhttp://scikit-learn.org/dev/faq.html#why-is-my-pull-request-not-getting-any-attention.\r\n\r\nThanks for contributing!\r\n-->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/214075535","html_url":"https://github.com/scikit-learn/scikit-learn/pull/6692#issuecomment-214075535","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/6692","id":214075535,"user":{"login":"jnothman","id":78827,"avatar_url":"https://avatars.githubusercontent.com/u/78827?v=3","gravatar_id":"","url":"https://api.github.com/users/jnothman","html_url":"https://github.com/jnothman","followers_url":"https://api.github.com/users/jnothman/followers","following_url":"https://api.github.com/users/jnothman/following{/other_user}","gists_url":"https://api.github.com/users/jnothman/gists{/gist_id}","starred_url":"https://api.github.com/users/jnothman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jnothman/subscriptions","organizations_url":"https://api.github.com/users/jnothman/orgs","repos_url":"https://api.github.com/users/jnothman/repos","events_url":"https://api.github.com/users/jnothman/events{/privacy}","received_events_url":"https://api.github.com/users/jnothman/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T00:28:17Z","updated_at":"2016-04-25T00:28:17Z","body":"So I don't see why we shouldn't just generally support `pairwise_kernels` now..."}}