Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
require weight.fun to be vectorized (#1206)
accept a data.frame for x arg to weight.fun in generatePartialDependenceData and generateFunctionalANOVAData which allows the use of faster vectorized weighting functions. for nonvectorized operations users can write a loop or use apply. also now checking that weights are nonnegative.
- Loading branch information
1 parent
ca168d0
commit 94e6859
Showing
2 changed files
with
29 additions
and
22 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