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

Api updates #23

Merged
merged 4 commits into from
Dec 6, 2020
Merged

Api updates #23

merged 4 commits into from
Dec 6, 2020

Conversation

RAMitchell
Copy link
Contributor

  • Allow custom templated implementations of split functions. Can now use single precision or double precision, <= or < conditions or possibly even categorical splits.

  • API no longer accept phis as a pointer and length, now requiring began and ended iterations. This minor changed interface is significantly more flexible, for example if a user wants to rearrange the output they can pass a thrust permutation iterator. Users may also now pass host memory iterators for output (e.g. std::vector).

  • Added some functions for tensor indexing, useful in the shap package as outputs need to be transposed into a slightly different format.

@RAMitchell RAMitchell merged commit 3f866a1 into rapidsai:main Dec 6, 2020
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.

1 participant