{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10633","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10633/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10633/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10633/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/10633","id":297008970,"node_id":"MDExOlB1bGxSZXF1ZXN0MTY5MDQ1NTY2","number":10633,"title":"Kernel Ridge Classification","user":{"login":"cperales","id":17336458,"node_id":"MDQ6VXNlcjE3MzM2NDU4","avatar_url":"https://avatars0.githubusercontent.com/u/17336458?v=4","gravatar_id":"","url":"https://api.github.com/users/cperales","html_url":"https://github.com/cperales","followers_url":"https://api.github.com/users/cperales/followers","following_url":"https://api.github.com/users/cperales/following{/other_user}","gists_url":"https://api.github.com/users/cperales/gists{/gist_id}","starred_url":"https://api.github.com/users/cperales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cperales/subscriptions","organizations_url":"https://api.github.com/users/cperales/orgs","repos_url":"https://api.github.com/users/cperales/repos","events_url":"https://api.github.com/users/cperales/events{/privacy}","received_events_url":"https://api.github.com/users/cperales/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2018-02-14T08:18:43Z","updated_at":"2018-10-14T11:15:50Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/10633","html_url":"https://github.com/scikit-learn/scikit-learn/pull/10633","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/10633.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/10633.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#pull-request-checklist\r\n-->\r\n\r\n#### Reference Issues/PRs\r\n<!--\r\nExample: Fixes #1234. See also #3456.\r\nPlease use keywords (e.g., Fixes) to create link to the issues or pull requests\r\nyou resolved, so that they will automatically be closed when your pull request\r\nis merged. See https://github.com/blog/1506-closing-issues-via-pull-requests\r\n-->\r\n\r\n\r\n#### What does this implement/fix? Explain your changes.\r\n\r\nKernel Ridge Regression (the only Kernel Ridge estimator is right now implemented in master) has a real simple mathematical formulation to adjust a regression problem using squared error loss combined with l2 regularization. It is similar in SVM is done, but with equal constrictions instead of inequal ones as in SVM.\r\n\r\n![elm_min](https://user-images.githubusercontent.com/17336458/35975459-276dd2ec-0cdd-11e8-9256-af6d894dce7c.png)\r\n\r\nUsing a vector encoding, this regressor can be adapted as a multilabel classifier while keep all the advantages over SVM. And this is my proposal. I followed the mathematical explaining from section 3 in [Venkatesh's paper from 2007](http://dro.deakin.edu.au/eserv/DU:30044591/venkatesh-facerecognition-2007.pdf). Basically, it transforms the target with *r* labels into a vector with *r* components.\r\n\r\n#### Any other comments?\r\n\r\nThis pull request comes after a controversial one about Kernel Extreme Learning Machine ( https://github.com/scikit-learn/scikit-learn/pull/10602 ). As @amueller pointed, ELM is so similar to Kernel Ridge that it is possibly a scam because it [Huang presents in 2012](http://www.neuromorphs.net/nm/raw-attachment/wiki/2015/scc15/ELM-Unified-Learning.pdf) ELM as a new algorithm. But Kernel Ridge, as it is presented in `scikit-learn`, just allows regression. This is a modification, using `sklearn.kernel_ridge.KernelRidge` as base, to allow Kernel Ridge multilabel Classification. Name, tests, code and implementation is open to discussion.\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"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/429617970","html_url":"https://github.com/scikit-learn/scikit-learn/pull/10633#issuecomment-429617970","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/10633","id":429617970,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTYxNzk3MA==","user":{"login":"cperales","id":17336458,"node_id":"MDQ6VXNlcjE3MzM2NDU4","avatar_url":"https://avatars0.githubusercontent.com/u/17336458?v=4","gravatar_id":"","url":"https://api.github.com/users/cperales","html_url":"https://github.com/cperales","followers_url":"https://api.github.com/users/cperales/followers","following_url":"https://api.github.com/users/cperales/following{/other_user}","gists_url":"https://api.github.com/users/cperales/gists{/gist_id}","starred_url":"https://api.github.com/users/cperales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cperales/subscriptions","organizations_url":"https://api.github.com/users/cperales/orgs","repos_url":"https://api.github.com/users/cperales/repos","events_url":"https://api.github.com/users/cperales/events{/privacy}","received_events_url":"https://api.github.com/users/cperales/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T11:15:50Z","updated_at":"2018-10-14T11:15:50Z","author_association":"NONE","body":"OK, i'll review your changes and i'll apply the relevant changes between today and tomorrow"}}
{"actor":{"display_login":"cperales"}}