{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/358","labels_url":"https://api.github.com/repos/dmlc/xgboost/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/xgboost/issues/358/comments","events_url":"https://api.github.com/repos/dmlc/xgboost/issues/358/events","html_url":"https://github.com/dmlc/xgboost/issues/358","id":89112381,"number":358,"title":"wrong number of columns in IFMatrix","user":{"login":"jseabold","id":296164,"avatar_url":"https://avatars.githubusercontent.com/u/296164?v=3","gravatar_id":"","url":"https://api.github.com/users/jseabold","html_url":"https://github.com/jseabold","followers_url":"https://api.github.com/users/jseabold/followers","following_url":"https://api.github.com/users/jseabold/following{/other_user}","gists_url":"https://api.github.com/users/jseabold/gists{/gist_id}","starred_url":"https://api.github.com/users/jseabold/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jseabold/subscriptions","organizations_url":"https://api.github.com/users/jseabold/orgs","repos_url":"https://api.github.com/users/jseabold/repos","events_url":"https://api.github.com/users/jseabold/events{/privacy}","received_events_url":"https://api.github.com/users/jseabold/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-06-17T20:09:53Z","updated_at":"2015-06-19T03:12:45Z","closed_at":"2015-06-19T03:12:45Z","body":"I'm a bit at a loss here. I can replicate this on linux with gcc 4.8.2 but not 4.6.3. NumPy version is 1.9.2 but shouldn't matter?\r\n\r\n```\r\nimport numpy as np\r\nfrom xgboost import XGBClassifier\r\n\r\nX = np.random.randn(100, 10)\r\ny = np.random.randint(2, size=100)\r\n\r\nmod = XGBClassifier(colsample_bytree=.1)\r\nmod.fit(X, y)\r\n```\r\n\r\nThis fails on 777c5ce992187bf51920029f6a73012afcb17595 with `colsample_bytree=0.1 is too small that no feature can be included` but it should not. Since `num_col` should be 10, it should select one column, but `num_col` is 9 at this point in the code for some reason. I don't see anything yet as to why.\r\n\r\nI'm compiling `cxx11=1`, `-O0`, and `-g` to debug, but it happens with the default too."},"comment":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/comments/113355658","html_url":"https://github.com/dmlc/xgboost/issues/358#issuecomment-113355658","issue_url":"https://api.github.com/repos/dmlc/xgboost/issues/358","id":113355658,"user":{"login":"tqchen","id":2577440,"avatar_url":"https://avatars.githubusercontent.com/u/2577440?v=3","gravatar_id":"","url":"https://api.github.com/users/tqchen","html_url":"https://github.com/tqchen","followers_url":"https://api.github.com/users/tqchen/followers","following_url":"https://api.github.com/users/tqchen/following{/other_user}","gists_url":"https://api.github.com/users/tqchen/gists{/gist_id}","starred_url":"https://api.github.com/users/tqchen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tqchen/subscriptions","organizations_url":"https://api.github.com/users/tqchen/orgs","repos_url":"https://api.github.com/users/tqchen/repos","events_url":"https://api.github.com/users/tqchen/events{/privacy}","received_events_url":"https://api.github.com/users/tqchen/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T03:12:45Z","updated_at":"2015-06-19T03:12:45Z","body":"great!"}}