-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* add T_subseq_isconstant param to naive stump * add test for new param in naive, expected error * add param to a core function to increase flexibility for user * add new param to public API to increase flexibility for user * fix decorator * add custom_func for rolling_isconstant * fix if block * change black minimum version to resolve trailing-comma issue * fix format with latest version of black * retreive setting for black minimum version * replace array with a custom function * replace array with func as new param for determining constant subseqs * revise core functions to have param isconstant_custom_func * update stump and test_stump * add param custom_func to naive rolling_isconstant * add an example for isconstant custom func to naive * add test function for isconstant custom func * add test function for isconstant custom function * update minimum version of black * fix docstrings * fix format * revise a naive function and its name * fix minor bug * allow param to accept type np.ndarray or function * minor fixes * fixed minor issues * fix bugs and including type functools.partial * fix decorator * update function preprocess_diagonal * update function preprocess_diagonal * remove if block * fix format * update naive by removing unnecessary if block * update docstring * add pragma nocover * increase coverage by enhancing test function * undo changes to black minimum version * remove unnecessary comment * revise docstrings * improve redability * move if checks to the function rolling_isconstant * fix black format * revise docstring * reivse if block structure to improve readability * add function to consider isfinite in computing isconstant * add warning when isconstant=True for non-finite subseq * minor changes * add docstring and add function to preprocess * add test function for fix_isconstant * remove error when subseq_isconstant does not cover all stddev=0 cases * remove unnecessary if condition * minor changes * Add pragma nocover comments * reduce number of imports * re-design function rolling_isconstant * improve readability of comment * added new test function * wrap a function around func signature check and add unit test * change output of function and update functions and tests accordingly * remove unnecessary test function * add param isconstant to stumped and update unit test * fixed non_normalized decorator * Add param subseq_isconstant to gpu_stump and add its test function * minor fixxes * avoid random behavior of argsort when values are the same by passing kind * update if block * update naive function rolling_isconstant * add comment * minor updates * fix naive stump * change function from public to private * fix coverage
- Loading branch information
1 parent
c7d5321
commit c06f0e9
Showing
9 changed files
with
640 additions
and
51 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.