{"action":"created","issue":{"url":"https://api.github.com/repos/mlr-org/mlr/issues/392","labels_url":"https://api.github.com/repos/mlr-org/mlr/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/mlr-org/mlr/issues/392/comments","events_url":"https://api.github.com/repos/mlr-org/mlr/issues/392/events","html_url":"https://github.com/mlr-org/mlr/issues/392","id":94992617,"number":392,"title":"Tuning Preprocessing wrapper with mlr?","user":{"login":"davidwangz137","id":3976829,"avatar_url":"https://avatars.githubusercontent.com/u/3976829?v=3","gravatar_id":"","url":"https://api.github.com/users/davidwangz137","html_url":"https://github.com/davidwangz137","followers_url":"https://api.github.com/users/davidwangz137/followers","following_url":"https://api.github.com/users/davidwangz137/following{/other_user}","gists_url":"https://api.github.com/users/davidwangz137/gists{/gist_id}","starred_url":"https://api.github.com/users/davidwangz137/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidwangz137/subscriptions","organizations_url":"https://api.github.com/users/davidwangz137/orgs","repos_url":"https://api.github.com/users/davidwangz137/repos","events_url":"https://api.github.com/users/davidwangz137/events{/privacy}","received_events_url":"https://api.github.com/users/davidwangz137/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-07-14T17:07:23Z","updated_at":"2015-07-14T20:55:01Z","closed_at":null,"body":"I read the tutorial on preprocessing and feature selection. The feature selectors are tunable by the tuneParams function called on a wrapped learner. I wish to do a PCA on my data before I pass it into the learner. I also want to tune the number of eigenvectors used, along with hyperparameters of the model itself.\r\nOne way to do this is to simply have a loop which which uses a different number of eigenvectors for the dataset in each iteration and calls tuneParams on the rest of the hyperparameters. This is a feasible substitute for grid and random search. However, if I want to tune the hyperparameters using something like Irace, then having an integrated handling of the hyperparameters would be needed.\r\n\r\nI was thinking that maybe it is possible to make the preprocessing wrapper behave more like it has a par.set instead of passing in a par.vals each time. Then make it available to the tuneParams function."},"comment":{"url":"https://api.github.com/repos/mlr-org/mlr/issues/comments/121382749","html_url":"https://github.com/mlr-org/mlr/issues/392#issuecomment-121382749","issue_url":"https://api.github.com/repos/mlr-org/mlr/issues/392","id":121382749,"user":{"login":"schiffner","id":8244303,"avatar_url":"https://avatars.githubusercontent.com/u/8244303?v=3","gravatar_id":"","url":"https://api.github.com/users/schiffner","html_url":"https://github.com/schiffner","followers_url":"https://api.github.com/users/schiffner/followers","following_url":"https://api.github.com/users/schiffner/following{/other_user}","gists_url":"https://api.github.com/users/schiffner/gists{/gist_id}","starred_url":"https://api.github.com/users/schiffner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiffner/subscriptions","organizations_url":"https://api.github.com/users/schiffner/orgs","repos_url":"https://api.github.com/users/schiffner/repos","events_url":"https://api.github.com/users/schiffner/events{/privacy}","received_events_url":"https://api.github.com/users/schiffner/received_events","type":"User","site_admin":false},"created_at":"2015-07-14T20:55:01Z","updated_at":"2015-07-14T20:55:01Z","body":"Thanks. I will take a look now."}}