{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/8678","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/8678/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/8678/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/8678/events","html_url":"https://github.com/scikit-learn/scikit-learn/issues/8678","id":218529136,"number":8678,"title":"TargetTransformer meta-estimator?","user":{"login":"amueller","id":449558,"avatar_url":"https://avatars0.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},"labels":[{"id":12995769,"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Easy","name":"Easy","color":"02d7e1","default":false},{"id":218978315,"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/Need%20Contributor","name":"Need Contributor","color":"009800","default":false},{"id":12995756,"url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels/New%20Feature","name":"New Feature","color":"02e10c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-31T15:03:02Z","updated_at":"2017-03-31T19:02:33Z","closed_at":null,"body":"A relatively common pattern is to change y according to some function for prediction, for example by using a logarithm in regression.\r\nUsually you want to measure the performance in the original space, so you need to transform y back before scoring.\r\nThat's really easily done using a meta-estimator.\r\nI think I reimplemented the logy meta-estimator about 10 times, so I think we should just add it. And we don't really need to restrict it to logarithm, we can allow the user to provide f and f_inverse.\r\n\r\nMaybe should go into preprocessing?"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/290800585","html_url":"https://github.com/scikit-learn/scikit-learn/issues/8678#issuecomment-290800585","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/8678","id":290800585,"user":{"login":"amueller","id":449558,"avatar_url":"https://avatars0.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-03-31T19:02:33Z","updated_at":"2017-03-31T19:02:33Z","body":"@GaelVaroquaux do you agree? I think we don't want to design a pipeline where we have additional steps after the call to ``predict``, but that's the only way to implement this in a pipeline."}}
{"actor":{"display_login":"amueller"}}