-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT(forest): hyperparameter support for RF clf inference (#1751)
* expand forest classes with hyperparams * fix build errors * add some version checks * black format * version check for hyperparameters backend * fixup * fixup * fixup * fixup * add version check for hyperparams * Add daal_require_version_wrapper * simplify obtaining hparams * fix version checks * Fix ONEDAL_VERSION in comment Co-authored-by: Victoriya Fedotova <[email protected]> * Add version comment to endif Co-authored-by: Victoriya Fedotova <[email protected]> * add block_size_multiplier hyperparam * fix argument name * add hyperparameter tests * review comments * fixup for registe_hyperparameters * simplify get_hyperparamters() definition * rename set_block_size * remove block size multiplier from testing * modify hyperparameters getattr/setattr for better debug output * instantiate hyperparams for entire task_list * rename df_infer_hp * instantiate hp only for classification * Retrieve hparams only for classification * change hyperparam values to %8 values * [workaround] use older artifacts to avoid pipeline error - revert before merge * Revert "[workaround] use older artifacts to avoid pipeline error - revert before merge" This reverts commit 294396c. * improve comment on hyperparameters __getattr__ * simplify hyperparameters retrieval * Revert adding of daal_require_version_wrapper * clean up imports * clean up unused type * fixup after renaming predict->infer * move get_hyperparameters API to sklearnex * move tests to sklearnex * fix test --------- Co-authored-by: Victoriya Fedotova <[email protected]>
- Loading branch information
Showing
7 changed files
with
155 additions
and
23 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
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
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