Skip to content
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

AttributeError: 'XGBClassifier' object has no attribute 'apply' #2

Open
seven-xu opened this issue Apr 11, 2017 · 4 comments
Open

AttributeError: 'XGBClassifier' object has no attribute 'apply' #2

seven-xu opened this issue Apr 11, 2017 · 4 comments

Comments

@seven-xu
Copy link

AttributeError: 'XGBClassifier' object has no attribute 'apply'

@andyxzq
Copy link
Owner

andyxzq commented Apr 12, 2017

You need to install xgboost form the source code.

@seven-xu
Copy link
Author

yes, new version is ok, thanks!

@seven-xu
Copy link
Author

experiment effect prove that the gbdt is best, the second is gbdt+lr, the last is lr, why gbdt+lr ?

@andyxzq
Copy link
Owner

andyxzq commented Apr 25, 2017

I think maybe because you have got very useful features, so you don't need gbdt to construct additional features for lr under your business.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants