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

Converter for BayesSearchCV #882

Closed
fabiogeraci opened this issue Jul 6, 2022 · 1 comment
Closed

Converter for BayesSearchCV #882

fabiogeraci opened this issue Jul 6, 2022 · 1 comment
Assignees

Comments

@fabiogeraci
Copy link

Hello devs,

I am working on a converter for BayesSearchCV, but I getting the following error, I am not sure what I am missing, any help is appreciated.

Error
Traceback (most recent call last):
File "/home/fabio/Documents/sklearn-onnx/tests/test_sklearn_bayes_search_cv_converter.py", line 33, in test_bayes_search_binary_float
model_onnx = convert_sklearn(
File "/home/fabio/Documents/sklearn-onnx/skl2onnx/convert.py", line 174, in convert_sklearn
topology = parse_sklearn_model(
File "/home/fabio/Documents/sklearn-onnx/skl2onnx/_parse.py", line 799, in parse_sklearn_model
outputs = parse_sklearn(scope, model, inputs,
File "/home/fabio/Documents/sklearn-onnx/skl2onnx/_parse.py", line 719, in parse_sklearn
res = _parse_sklearn(
File "/home/fabio/Documents/sklearn-onnx/skl2onnx/_parse.py", line 656, in _parse_sklearn
outputs = sklearn_parsers_map[tmodel](scope, model, inputs,
File "/home/fabio/Documents/sklearn-onnx/skl2onnx/_parse.py", line 419, in _parse_sklearn_bayes_search_cv
options = scope.get_options(model)
File "/home/fabio/Documents/sklearn-onnx/skl2onnx/common/_topology.py", line 878, in get_options
self._get_allowed_options(model, fail=fail),
File "/home/fabio/Documents/sklearn-onnx/skl2onnx/common/_topology.py", line 834, in _get_allowed_options
raise NotImplementedError(
NotImplementedError: No registered models, no known allowed options for model 'BayesSearchCV'.

@xiaowuhu xiaowuhu self-assigned this Aug 1, 2022
@xiaowuhu
Copy link
Collaborator

xiaowuhu commented Sep 14, 2022

@fabiogeraci the BayesSearchCV is belonging to skopt instead of sklearn, so we don't have plan to support officially.

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

2 participants