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

Fixed gradient boosting converters for different values of init hyper… #219

Merged
merged 1 commit into from Jul 15, 2019

Conversation

prabhat00155
Copy link
Contributor

…-parameter

else:
base_values = op.init_.priors
raise NotImplementedError(
'Setting init to an estimator is not supported, you may raise an '
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If setting init is doable, probably you can add an issue by yourself and put the link the exception, is it better?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not as straight-forward. If init is set to an estimator, we'll have to call it's predict(), which we could do but the result would be a set of output names(which will be evaluated by onnxruntime). However, TreeClassifier and TreeRegressor onnx ops expect a list of floats as base_values. This makes the implementation tricky.

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

Successfully merging this pull request may close these issues.

None yet

2 participants