-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allowing FPS to take numpy array of ints as initialize parameter (#225)
* Add numpy array support for initialize paramater for FPS * Adding unit test for initialize as np array * Fixed linting issue * Added fix for np array value error * Adding unit test for case with np array containing non-ints * Adding documentation in skmatter.sample_selection * Removed unnecessary test and fixed initialize * Revert "Removed unnecessary test and fixed initialize" This reverts commit c25c850. * Adding "numpy" before ndarray in docstrings * Changing error message and adding another unit test * Added unit tests * Combined if statements for list and array * Update CHANGELOG --------- Co-authored-by: Christian Jorgensen <cajorgensen@wisc.edu>
- Loading branch information
1 parent
bd54517
commit dd31493
Showing
6 changed files
with
64 additions
and
10 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