-
Notifications
You must be signed in to change notification settings - Fork 873
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple output column features with primitive refactor (#376)
* initial support * cfm tests passing * linting * progress * progress * add lint-fix and autopep * more passing * progress * progress * progress * don't require initialization * separate override tests * lint * cleanup * more tests passing * one more test passing * all but one test passing * all test pass * linting * add to lint-fix * all tests pass! * cleanup * fix tests * fix test * fix linting * docs building * actually fix docs * updates * Primitive refactor updates (#365) * remove incorrect commutative attributes * handle rsub override and test reverse overrides * rename weekend primitive is_weekend * updated weekend to is_weekend in docs * test values for scalar_subtract_numeric * rename subtract_numeric and scalar_subtract_numeric to subtract_numeric_feature and scalar_subtract_numeric_feature * revert subtract_numeric_feature to subtract_numeric * update rsub * fix test * replace expanding with number_output_features * remove old line from encode features * have dfs intialized un-initialized primitives * fix feature name assertion * remove get_feature_names on primitive * cleanup * test direct features of multi output features * linting * remove unecessary primitive initializations * rename NMostCommon primitive function * remove unecessary default value from NMostCommon * allow NMostCommon to stack * don't set primitive for DirectFeature * make number_output_features a property of FeatureBase * change parameter name in check_stacking * rename ready_primitive to handle_primitive and add check that input is a primitive * update variable name in where primitive check * switch to using feature.number_output_features in logic * add warning in encode_features for multi output features * make helper function for adding feature values to existing data * clean up direct feature tests on multi-output features * addressed review comments * remove logic to do direct features of grandparents
- Loading branch information
Showing
15 changed files
with
431 additions
and
102 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
Oops, something went wrong.