{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4844","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4844/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4844/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4844/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4844","id":87063800,"number":4844,"title":"[MRG] Add KNN strategy for imputation","user":{"login":"tw991","id":8785890,"avatar_url":"https://avatars.githubusercontent.com/u/8785890?v=3","gravatar_id":"","url":"https://api.github.com/users/tw991","html_url":"https://github.com/tw991","followers_url":"https://api.github.com/users/tw991/followers","following_url":"https://api.github.com/users/tw991/following{/other_user}","gists_url":"https://api.github.com/users/tw991/gists{/gist_id}","starred_url":"https://api.github.com/users/tw991/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tw991/subscriptions","organizations_url":"https://api.github.com/users/tw991/orgs","repos_url":"https://api.github.com/users/tw991/repos","events_url":"https://api.github.com/users/tw991/events{/privacy}","received_events_url":"https://api.github.com/users/tw991/received_events","type":"User","site_admin":false},"labels":[{"id":218978315,"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Need%20Contributor","name":"Need Contributor","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":87,"created_at":"2015-06-10T18:35:21Z","updated_at":"2017-02-13T16:50:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/4844","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4844","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/4844.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/4844.patch"},"body":"Trying to solve #2989.\n\nImputation strategy is following:\n\nFind all rows with full features as complete set, and impute the missing features in a row by taking the mean of those features among its K-nearest neighbors in complete set. Use scikit-learn.neighbors.NearestNeighbors to find neighbors. Now it can only handle dense matrix. \n\nBased on this paper: http://web.stanford.edu/~hastie/Papers/missing.pdf\n\nSimilar package for R: Impute(http://www.bioconductor.org/packages/release/bioc/manuals/impute/man/impute.pdf)\nSimilar function for Matlab:\nKnnimpute(http://www.mathworks.com/help/bioinfo/ref/knnimpute.html)\n\nStill working on documentation and examples.\n\n<!-- Reviewable:start -->\n\n---\n\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/scikit-learn/scikit-learn/4844)\n\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/279450085","html_url":"https://github.com/scikit-learn/scikit-learn/pull/4844#issuecomment-279450085","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/4844","id":279450085,"user":{"login":"amueller","id":449558,"avatar_url":"https://avatars.githubusercontent.com/u/449558?v=3","gravatar_id":"","url":"https://api.github.com/users/amueller","html_url":"https://github.com/amueller","followers_url":"https://api.github.com/users/amueller/followers","following_url":"https://api.github.com/users/amueller/following{/other_user}","gists_url":"https://api.github.com/users/amueller/gists{/gist_id}","starred_url":"https://api.github.com/users/amueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amueller/subscriptions","organizations_url":"https://api.github.com/users/amueller/orgs","repos_url":"https://api.github.com/users/amueller/repos","events_url":"https://api.github.com/users/amueller/events{/privacy}","received_events_url":"https://api.github.com/users/amueller/received_events","type":"User","site_admin":false},"created_at":"2017-02-13T16:50:28Z","updated_at":"2017-02-13T16:50:28Z","body":"Yeah. Maybe we should stick with what fancyimpute is doing: https://pypi.python.org/pypi/fancyimpute\r\n"}}
{"actor":{"display_login":"amueller"}}