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

Provide an array endpoint #2

Open
pomber opened this issue Jul 19, 2017 · 0 comments
Open

Provide an array endpoint #2

pomber opened this issue Jul 19, 2017 · 0 comments

Comments

@pomber
Copy link
Contributor

pomber commented Jul 19, 2017

sklearn needs the column order to be the same as the training dataset: scikit-learn/scikit-learn#7242

So there should be an endpoint accepting an array instead of a dict.

Another option could be to somehow provide a map to sort the columns (as xgboost does with get_booster().feature_names).

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

No branches or pull requests

1 participant