{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/1689","repository_url":"https://api.github.com/repos/dmlc/xgboost","labels_url":"https://api.github.com/repos/dmlc/xgboost/issues/1689/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/xgboost/issues/1689/comments","events_url":"https://api.github.com/repos/dmlc/xgboost/issues/1689/events","html_url":"https://github.com/dmlc/xgboost/issues/1689","id":184412031,"number":1689,"title":"Does Xgboost version 0.6 run slower than 0.4 in python?","user":{"login":"kendu605","id":22563315,"avatar_url":"https://avatars.githubusercontent.com/u/22563315?v=3","gravatar_id":"","url":"https://api.github.com/users/kendu605","html_url":"https://github.com/kendu605","followers_url":"https://api.github.com/users/kendu605/followers","following_url":"https://api.github.com/users/kendu605/following{/other_user}","gists_url":"https://api.github.com/users/kendu605/gists{/gist_id}","starred_url":"https://api.github.com/users/kendu605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kendu605/subscriptions","organizations_url":"https://api.github.com/users/kendu605/orgs","repos_url":"https://api.github.com/users/kendu605/repos","events_url":"https://api.github.com/users/kendu605/events{/privacy}","received_events_url":"https://api.github.com/users/kendu605/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-10-21T06:53:18Z","updated_at":"2016-11-01T11:38:01Z","closed_at":null,"body":"I installed updated version of xgboost 0.6 in python 3.4 and version 0.4 in python 2.7, from the running performance for the same code , version 0.6 is much slower than 0.4, does anyone meet the same situation like me? Is it really the case that version 0.6 is slower than 0.4 or just something wrong with my installation? \n# Running result(version 0.6):\n\n(1,199)\n(2,152)\n(3,100)\n(4,76)\n# Running result(version 0.4):\n\n(1, 115)\n(2, 62)\n(3, 46)\n(4, 40)\n# The code I used to run as follow:\n\n```\nfrom pandas import read_csv\nfrom xgboost import XGBClassifier\nfrom sklearn.preprocessing import LabelEncoder\nimport time\n\ndata = read_csv('train.csv'), # Kaggel Otto competition, train.csv \ndataset = data.values\nX = dataset[:,0:94]\ny = dataset[:,94]\nlabel_encoded_y = LabelEncoder().fit_transform(y)\nresults = []\nnum_threads = [1, 2, 3, 4]\nfor n in num_threads:\n    start = time.time()\n    model = XGBClassifier(nthread=n)\n    model.fit(X, label_encoded_y)\n    elapsed = time.time() - start\n    print(n, elapsed)\n```\n"},"comment":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/comments/257545946","html_url":"https://github.com/dmlc/xgboost/issues/1689#issuecomment-257545946","issue_url":"https://api.github.com/repos/dmlc/xgboost/issues/1689","id":257545946,"user":{"login":"kendu605","id":22563315,"avatar_url":"https://avatars.githubusercontent.com/u/22563315?v=3","gravatar_id":"","url":"https://api.github.com/users/kendu605","html_url":"https://github.com/kendu605","followers_url":"https://api.github.com/users/kendu605/followers","following_url":"https://api.github.com/users/kendu605/following{/other_user}","gists_url":"https://api.github.com/users/kendu605/gists{/gist_id}","starred_url":"https://api.github.com/users/kendu605/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kendu605/subscriptions","organizations_url":"https://api.github.com/users/kendu605/orgs","repos_url":"https://api.github.com/users/kendu605/repos","events_url":"https://api.github.com/users/kendu605/events{/privacy}","received_events_url":"https://api.github.com/users/kendu605/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T11:38:01Z","updated_at":"2016-11-01T11:38:01Z","body":"I cloned the new source, but still no help. Don't konw where is wrong. "}}
{"actor":{"display_login":"kendu605"}}