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

ONNX export doesn't support categorical features #863

Open
wboleksii opened this issue Jun 6, 2019 · 7 comments
Open

ONNX export doesn't support categorical features #863

wboleksii opened this issue Jun 6, 2019 · 7 comments

Comments

@wboleksii
Copy link

Hi,

Is there a plan to support categorical features when exporting to Onnx format?

@annaveronika
Copy link
Contributor

It would be great to add it, I'm adding a help wanted tag, because we will not be able to implement it in the close future. But it is easy to do, examples can be found in CoreML and PMML support for categorical features. If you are interested, you could try implementing this one.

@chebbyChefNEQ
Copy link

Hi, I'd love to have this feature and contribute some code. Could you point me to the necessary components and docs? @annaveronika

Thank you!

@chebbyChefNEQ
Copy link

Looks like to support categorical ONNX export the code need some ai.onnx.ml.CategoryMapper nodes? Once all the features are mapped to ints we can just use the AddTree path.

Is my understanding correct?

@alexeymaksakov-tomtom
Copy link

Any updates on this one?

1 similar comment
@mirecl
Copy link

mirecl commented Feb 14, 2023

Any updates on this one?

@Evgueni-Petrov-aka-espetrov
Copy link
Contributor

hi @mirecl !
thanks for asking 👍
so far, nobody has volunteered to implement this feature 😞
i think that the easiest thing is to support one-hot encoded categorical features

@alexeymaksakov-tomtom
Copy link

What if one-hot encoding results in 200+ features? :)

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

6 participants