{"action":"created","issue":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/956","repository_url":"https://api.github.com/repos/dmlc/xgboost","labels_url":"https://api.github.com/repos/dmlc/xgboost/issues/956/labels{/name}","comments_url":"https://api.github.com/repos/dmlc/xgboost/issues/956/comments","events_url":"https://api.github.com/repos/dmlc/xgboost/issues/956/events","html_url":"https://github.com/dmlc/xgboost/issues/956","id":139998678,"number":956,"title":"terminate called after throwing an instance of 'dmlc::ParamError'","user":{"login":"apoyoman","id":16560959,"avatar_url":"https://avatars.githubusercontent.com/u/16560959?v=3","gravatar_id":"","url":"https://api.github.com/users/apoyoman","html_url":"https://github.com/apoyoman","followers_url":"https://api.github.com/users/apoyoman/followers","following_url":"https://api.github.com/users/apoyoman/following{/other_user}","gists_url":"https://api.github.com/users/apoyoman/gists{/gist_id}","starred_url":"https://api.github.com/users/apoyoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apoyoman/subscriptions","organizations_url":"https://api.github.com/users/apoyoman/orgs","repos_url":"https://api.github.com/users/apoyoman/repos","events_url":"https://api.github.com/users/apoyoman/events{/privacy}","received_events_url":"https://api.github.com/users/apoyoman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-03-10T20:22:42Z","updated_at":"2016-03-12T18:34:28Z","closed_at":"2016-03-12T17:44:14Z","body":"Hi, after installing xgboost on Ubuntu (git clone --recursive https://github.com/dmlc/xgboost\r\ncd xgboost; make -j4) and successfully running several times I obtained an error when I tried to start from a previous model:\r\n\r\nxgboost machine3.conf model_in=xgb_tree_mc3_eta005_1.model model_out=xgb_tree_mc3_eta005_2.model > machine3-2.out 2>&1 &\r\n\r\nThe log file content is: \r\n[12:05:05] 74067x61 matrix with 1408801 entries loaded from train.crs\r\n[12:05:05] boosting round 0, 1.19209e-06 sec elapsed\r\nterminate called after throwing an instance of 'dmlc::ParamError'\r\n  what():  Required parameter num_feature of int is not presented\r\n\r\nThe conf file content is:\r\n# General Parameters, see comment for each definition\r\n# choose the tree booster, can also change to gblinear\r\nbooster = gbtree\r\n# this is the only difference with classification, use reg:linear to do linear classification\r\n# when labels are in [0,1] we can also use reg:logistic\r\nobjective = reg:linear\r\n\r\n# Tree Booster Parameters\r\n# step size shrinkage\r\neta = 0.05 \r\n# minimum loss reduction required to make a further partition\r\ngamma = 1.0 \r\n# minimum sum of instance weight(hessian) needed in a child\r\nmin_child_weight = 1 \r\n# maximum depth of a tree\r\nmax_depth = 6 \r\n\r\n# Task parameters\r\n# the number of round to do boosting\r\nnum_round = 100\r\n# 0 means do not save any model except the final round model\r\nsave_period = 50 \r\n# The path of training data\r\ndata = \"train.crs\" \r\n# The path of validation data, used to monitor training process, here [test] sets name of the validation set\r\n#eval[test] = \"machine.txt.test\" \r\n# evaluate on training data as well each round\r\neval_train = 1\r\n# The path of test data \r\ntest:data = \"test.crs\"      \r\neval_metric = \"rmse\"\r\nnthread = 2\r\n"},"comment":{"url":"https://api.github.com/repos/dmlc/xgboost/issues/comments/195783716","html_url":"https://github.com/dmlc/xgboost/issues/956#issuecomment-195783716","issue_url":"https://api.github.com/repos/dmlc/xgboost/issues/956","id":195783716,"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":"2016-03-12T18:34:28Z","updated_at":"2016-03-12T18:34:28Z","body":"oh really, Can you see if you can reproduce the same behavior on the toy dataset we provided? Say train for one iter, and continue train on that"}}