{"action":"created","issue":{"url":"https://api.github.com/repos/paulgb/sklearn-pandas/issues/62","repository_url":"https://api.github.com/repos/paulgb/sklearn-pandas","labels_url":"https://api.github.com/repos/paulgb/sklearn-pandas/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/paulgb/sklearn-pandas/issues/62/comments","events_url":"https://api.github.com/repos/paulgb/sklearn-pandas/issues/62/events","html_url":"https://github.com/paulgb/sklearn-pandas/pull/62","id":168811755,"number":62,"title":"added a data frame mapper which uses just Pipeline and FeatureUnion","user":{"login":"chanansh","id":5981644,"avatar_url":"https://avatars.githubusercontent.com/u/5981644?v=3","gravatar_id":"","url":"https://api.github.com/users/chanansh","html_url":"https://github.com/chanansh","followers_url":"https://api.github.com/users/chanansh/followers","following_url":"https://api.github.com/users/chanansh/following{/other_user}","gists_url":"https://api.github.com/users/chanansh/gists{/gist_id}","starred_url":"https://api.github.com/users/chanansh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanansh/subscriptions","organizations_url":"https://api.github.com/users/chanansh/orgs","repos_url":"https://api.github.com/users/chanansh/repos","events_url":"https://api.github.com/users/chanansh/events{/privacy}","received_events_url":"https://api.github.com/users/chanansh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T06:49:09Z","updated_at":"2016-08-04T16:17:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/paulgb/sklearn-pandas/pulls/62","html_url":"https://github.com/paulgb/sklearn-pandas/pull/62","diff_url":"https://github.com/paulgb/sklearn-pandas/pull/62.diff","patch_url":"https://github.com/paulgb/sklearn-pandas/pull/62.patch"},"body":"I tried to use the DataFrameMapper but had problems with setting parameters of internal models and consistency with other wrapping methods of scikit-learn. I found that one can just FeatureUnion a bunch of pipeline where each pipeline has a front-end column selector Transformer `ColumnSelectTransformer` followed by the requested list of transformer. The resultant pipeline has also names so one can track back what each parameter means when doing `get_params(deep=True)`.\r\n\r\nI hope someone will find this useful. "},"comment":{"url":"https://api.github.com/repos/paulgb/sklearn-pandas/issues/comments/237604297","html_url":"https://github.com/paulgb/sklearn-pandas/pull/62#issuecomment-237604297","issue_url":"https://api.github.com/repos/paulgb/sklearn-pandas/issues/62","id":237604297,"user":{"login":"dukebody","id":41953,"avatar_url":"https://avatars.githubusercontent.com/u/41953?v=3","gravatar_id":"","url":"https://api.github.com/users/dukebody","html_url":"https://github.com/dukebody","followers_url":"https://api.github.com/users/dukebody/followers","following_url":"https://api.github.com/users/dukebody/following{/other_user}","gists_url":"https://api.github.com/users/dukebody/gists{/gist_id}","starred_url":"https://api.github.com/users/dukebody/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dukebody/subscriptions","organizations_url":"https://api.github.com/users/dukebody/orgs","repos_url":"https://api.github.com/users/dukebody/repos","events_url":"https://api.github.com/users/dukebody/events{/privacy}","received_events_url":"https://api.github.com/users/dukebody/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T16:17:50Z","updated_at":"2016-08-04T16:17:50Z","body":"Hi @chanansh !\r\n\r\nI integrated a modified version of your `FeatureUnion`-based pipeline into the current version of DataFrameMapper in https://github.com/paulgb/sklearn-pandas/tree/feature_union_pipe. Let me know what you think."}}
{"actor":{"display_login":"dukebody"}}