{"action":"opened","issue":{"url":"https://api.github.com/repos/soerenkuenzel/hte/issues/15","repository_url":"https://api.github.com/repos/soerenkuenzel/hte","labels_url":"https://api.github.com/repos/soerenkuenzel/hte/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/soerenkuenzel/hte/issues/15/comments","events_url":"https://api.github.com/repos/soerenkuenzel/hte/issues/15/events","html_url":"https://github.com/soerenkuenzel/hte/issues/15","id":358627943,"node_id":"MDU6SXNzdWUzNTg2Mjc5NDM=","number":15,"title":"Multithreading not working on X_BART?","user":{"login":"dbroockman","id":6677808,"node_id":"MDQ6VXNlcjY2Nzc4MDg=","avatar_url":"https://avatars1.githubusercontent.com/u/6677808?v=4","gravatar_id":"","url":"https://api.github.com/users/dbroockman","html_url":"https://github.com/dbroockman","followers_url":"https://api.github.com/users/dbroockman/followers","following_url":"https://api.github.com/users/dbroockman/following{/other_user}","gists_url":"https://api.github.com/users/dbroockman/gists{/gist_id}","starred_url":"https://api.github.com/users/dbroockman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbroockman/subscriptions","organizations_url":"https://api.github.com/users/dbroockman/orgs","repos_url":"https://api.github.com/users/dbroockman/repos","events_url":"https://api.github.com/users/dbroockman/events{/privacy}","received_events_url":"https://api.github.com/users/dbroockman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T13:40:16Z","updated_at":"2018-09-10T13:40:16Z","closed_at":null,"author_association":"NONE","body":"It looks like X_BART doesn't ever use the `nthread` argument. https://github.com/soerenkuenzel/hte/blob/ddaa132dc84439880c806b6c12cf4bbe0a8c77e9/R/XBART.R#L37\r\n\r\nI ran this line of code on a 36 core machine:\r\n\r\n```\r\nEstimateCate(X_BART(feat = X.train, tr = data.train$treat,\r\n                                       yobs = dv_resid.train, nthread = n.cores), X.test)\r\n```\r\n\r\nAnd CPU utilization stayed at ~4%."}}
{"actor":{"display_login":"dbroockman"}}