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

Unknown feature estimator type BoW:top_tokens_count=1000 #1916

Closed
dudarev opened this issue Nov 12, 2021 · 1 comment
Closed

Unknown feature estimator type BoW:top_tokens_count=1000 #1916

dudarev opened this issue Nov 12, 2021 · 1 comment

Comments

@dudarev
Copy link

dudarev commented Nov 12, 2021

Problem: Exception is raised where no exceptions were raised before
catboost version: 1.0.3
Operating System: MacOS
CPU: +
GPU: ?

Specifying

    feature_calcers: Iterable[str] = (
        "BoW:top_tokens_count=1000",
        "NaiveBayes",
        "BM25",
    )

worked in versions up to 1.0.0 (including). Exception is generated in version 1.0.3:

...
  File ".pyenv/versions/dispute-prediction-service/lib/python3.8/site-packages/catboost/core.py", line 1953, in _prepare_train_params
    _check_train_params(params)
  File "_catboost.pyx", line 5839, in _catboost._check_train_params
  File "_catboost.pyx", line 5858, in _catboost._check_train_params
_catboost.CatBoostError: catboost/private/libs/options/text_processing_options.cpp:133: Unknown feature estimator type BoW:top_tokens_count=1000
@kizill
Copy link
Member

kizill commented Nov 22, 2021

Fixed in 6bfbe66 Will appear in the next bugfix release.

@kizill kizill closed this as completed Nov 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants