New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error:buffer_indexexceed num_pbuffer #10
Comments
I set |
hmm.. can you post a script that can produces the error? I can't produce this error with my script. #!/usr/bin/python
import sys
import sklearn.datasets
sys.path.append('../')
import xgboost as xgb
x, y = sklearn.datasets.make_hastie_10_2()
y[y==-1] = 0
dtrain = xgb.DMatrix(x, label=y)
param = {'bst:max_depth':2, 'bst:eta':1, 'bst:gamma':0, 'objective':'binary:logistic', 'silent':1 }
num_round = 10
evallist = [(dtrain,'train')]
bst = xgb.train( param, dtrain, num_round, evallist ) |
this is strange: I fail to create an isolated script to reproduce it. Even stranger: the error only occurs if I run either Rgbm (via rpy2) or sklearn's GradientBoostingClassifier before... but in this case its 100% reproducible. BTW: it happens in |
i have some idea what happened. |
checked with the dev branch - you fixed it! |
Thanks peter! Indeed this is a problem that we overlooked:) |
b15f6cd rabit unifires with dmlc 5634ec3 ok 2dd6c2f Merge branch 'master' of ssh://github.com/dmlc/rabit 38d7f99 checkin wormhole spliter 8acb96a Merge pull request #10 from ryanzz/master 911a1f0 fixed a mistake 732d8c3 inteface changing 684ea0a inteface changing 8cb4c02 add dmlc support be2ff70 allow adapting wormhole git-subtree-dir: subtree/rabit git-subtree-split: b15f6cd
I sometimes got this error when I ran xgboost on the data that is used in Elements of Statistical Learning Example 10.2
Its available in sklearn via
sklearn.datasets.make_hastie_10_2
The text was updated successfully, but these errors were encountered: