-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding skeleton for component_base * oops, added nested components folders, fixing * linting * adding skeleton estimator/transfomer classes * adding basic estimator components for merge merge * WIP: Components (#107) * Added imputer * Clean up imputer * added onehot and standard scaler * Need fix selectfrommodel and validating * Add selectfrommodel * Cleanup and added basic init test * lint * cleaning up, more merging, combining tests * adding componenttype enum, a little more merging * linting * Moved to estimator * lint fix :P * pipeline v2 base * pushing new base for pipeline and simple test * Faulty scaler for LR * Working LR * Broken RF * Fixed SelectFromModel * Added RF pipeline Fixed SelectFromModel * changing xgboost to use our components * Added RF Regression * beginning to fix broken pieces * continuing to fix tests * fixing tests in autoclassifier * linting * fixing silly typo bug * linting * cleaning up pipeline and pipelinebase classes * adding describe to components and pipeline * linting and fixing minor bug * adding check for estimator in pipeline * Pipeline indexing (#118) * Added indexing and basic tests * Switched to pipelinebase for slicing * Clean up and add docstrings * lint * lint again * Clean up and add error for setting * adding default value to next() to prevent StopIteration error * oops, actually fixing... * fixing docstrings and cleaning imports * adding simple tests for describe * linting * Autogenerated pipeline names (#122) * Basic name without check * Add assert * lint * Changed name format and name constants * Cleanup * moving files to subfolders and removing hyperparameters as class var * updating file hierarchy * linting * removing duplicate * Add feature_importance tests * adding extra tests * adding test, cleanup * Added linear regression and test for pipeling fitting (#131) * Added linear regression pipeline and added test for fitting * Remove unnecessary fit for xgboost component (#148) * Remove fit for xgboost * Remove kwargs * addressing pr comments: rename, abstract feature_importances, del __init__, cleanup, etc. (#149) * addressing pr comments: rename, del __init__, cleanup * cleaning up describe * feature importances + cleanup of components, added subclasses encoder + feature_selector * linting, fixing errors * adding less specific version * addressing comments * import errors * String and component_type component (#153) * added handling str and component type for component list * Adding model_type / problem_type to PipelineBase to allow inference (#157) * adding problem_type and model_type to pipeline base * problem_type --> problem_types * cleaning up self.component_list and init pipeline, typo * forgot to remove print * removing comments * changelog * removing generic SelectFromModel * Jeremy changes (#164) * cleanup components utils * Switch to category_encoder and cleanup RF Select * add feature_importance to estimator * More switching to CE * Move parameters to class attributes and make test * lint * Separate changelog test * Text cleanup * wip: addressing comments (#159) * wip: addressing comments * feature names? * adding fix for no estimator in generate_name * fixing test * addressing more comments on feature_importance * feature_importances fixed and cleaned :) * oops, missed merge conflict * change of name * minor cleanup * adding basic test for two feature selectors and adding default components in DEFAULT_COMPONENTS * adding tests for retaining feature names in input_feature_names * addressing comments * cleanup * fixing
- Loading branch information
1 parent
e412fdb
commit 4a58a11
Showing
47 changed files
with
1,471 additions
and
213 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,3 +110,4 @@ venv.bak/ | |
|
||
# mypy | ||
.mypy_cache/ | ||
.DS_Store |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# flake8:noqa | ||
from .component_base import ComponentBase | ||
from .component_types import ComponentTypes | ||
from .estimators import ( | ||
Estimator, | ||
LinearRegressor, | ||
LogisticRegressionClassifier, | ||
RandomForestClassifier, | ||
RandomForestRegressor, | ||
XGBoostClassifier | ||
) | ||
from .transformers import ( | ||
Transformer, | ||
OneHotEncoder, | ||
RFClassifierSelectFromModel, | ||
RFRegressorSelectFromModel, | ||
SimpleImputer, | ||
StandardScaler, | ||
FeatureSelector, | ||
CategoricalEncoder | ||
) | ||
|
||
from .utils import handle_component, str_to_component_type |
Oops, something went wrong.