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

get_all_params() error: some tree_learner_options keys missed #926

Closed
khrisanfov opened this issue Jul 30, 2019 · 2 comments
Closed

get_all_params() error: some tree_learner_options keys missed #926

khrisanfov opened this issue Jul 30, 2019 · 2 comments
Labels

Comments

@khrisanfov
Copy link

catboost version: 16.0
Operating System: Ubuntu 18.04
GPU: 1080 Ti

get_all_params() cause the following error:

---------------------------------------------------------------------------

CatBoostError                             Traceback (most recent call last)

<ipython-input-9-04f1b25fb0a6> in <module>
----> 1 model.get_all_params()
      2 

/usr/local/lib/python3.6/dist-packages/catboost/core.py in get_all_params(self)
   2207         if not self.is_fitted():
   2208             raise CatBoostError("There is no trained model to use get_all_params(). Use fit() to train model. Then use this method.")
-> 2209         return self._object._get_plain_params()
   2210 
   2211 

_catboost.pyx in _catboost._CatBoost._get_plain_params()

_catboost.pyx in _catboost._CatBoost._get_plain_params()

CatBoostError: catboost/libs/options/plain_options_helper.cpp:730: some tree_learner_options keys missed

Code to reproduce https://github.com/khrisanfov/catboost_issues/blob/master/get_all_params.ipynb

@dbakshee
Copy link
Contributor

Hi, thank you for reporting the issue and providing the case.
It reproduces with recently released 0.16.1.

@dbakshee dbakshee added the bug label Jul 31, 2019
arcadia-devtools pushed a commit that referenced this issue Jul 31, 2019
…ms(). Issue: #926

ref:360db7ae8aed75c9a4c32d18ba55391451ecab6e
@annaveronika
Copy link
Contributor

This is fixed now, will be out in our next minor release. Now you can build from source.

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

No branches or pull requests

3 participants