-
Notifications
You must be signed in to change notification settings - Fork 553
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REVIEW] support xgboost multi-class models in C/C++ layer in FIL (#2866
) * make num_classes significant in FLOAT_SCALAR case * changelog; check correspondence between output_t::CLASS and num_classes * misc copy-paste bugs/style * Rename: leaf_value_t into leaf_algo_t FLOAT_SCALAR into FLOAT_SAME_CLASS INT_CLASS_LABEL into CATEGORICAL_LEAF * changelog * leaf_payload_type* -> leaf_algo* * comments * addressed review comments * changelog * remove extra changes * added tests * remove unnecessary changes * reorder switch(leaf_algo_t) and if(predict_proba) It does not increase the size of the change, but makes the logic clearer and will extend better to new leaf_algo_t * fix leaf conversion for TREE_PER_CLASS * review comments except max/argmax * new argmax, not explicitly vectorized * re-resolve merge conflict * less code * ...that works * comments stash * rename TREE_PER_CLASS -> GROVE_PER_CLASS * shorten a test * actually test GROVE_PER_CLASS * addressed review; read standard a bit more carefully * syncthreads comment * correct error message * review comments
- Loading branch information
Showing
5 changed files
with
404 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.