-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature:: Preprocessing models (#104)
* add `Binarizer` in the `SKLEARN_PREPROCESSING_TABLE` * add preprocessing models' tests runner * add `Binarizer` test * `CHANGELOG.md` updated * `SUPPORTED_MODELS.md` updated * fix : index error in `SUPPORTED_MODELS.md` fixed. * update : extra lines adde to `binarizer.py` added. * add : test for `OneHotEncoder` added. * fix : `toarray()` added to `one_hot_encoder.py`. * fix : trailing white spaces removed. * add : tests added for `LabelBinarizer`. * add : tests for `LabelEncoder` added. * add : tests added for `StandardScaler`. * update : preprocessing tests updated. * add : `FunctionTransformer` preprocessing model added. * .gitignore updated * functionTransporter enhanced to support numpy ufunc * preprocessings test dedicated utils added * storage directory added containing preprocessings exported files in json * add full end to end transporting to preprocessing modules tests * add FunctionTransporter to Preprocessing chain * fix : codacy issued fixed. * add : `KBinsDiscretizer` preprocessing model added. * fix[?] : nd arrays stack in the general data structure. * [revert] : `KBinsDiscretizer` reverted temporary. * add : `KernelCenterer` preprocessing model added. * update : minor updates in preprocessing tests. * add : `MultiLabelBinarizer` preprocessing model * add : `MaxAbsScaler` preprocessing module added. * add : `Normalizer` preprocessing model added. * add : `OrdinalEncoder` preprocessing added. [:skull:] check the Nan value in json for parsing. * fix : codacy issues fixed. * add : `PolynomialFeatures` preprocessing model added. * add : `PowerTransformer` preprocessing model added. * fix : typo fixed for `RobustScaler`. * add : `TargetEncoder` preprocessing module added. * [revert] : `TargetEncoder` implementation reverted. * add : `QuantileTransformer` preprocessing model. * prevent "object" dtype dictating * prevent redundant reshaping * `KBinsDiscretizer` added to `pymilo_param.py` * add check prefix list function * add `KBinsDiscretizer` test case * fix dtype missing * prevent index out of bound * remove trailing whitespaces * `kbins_discretizer` added to `test_preprocessings.py` * remove trailing whitespaces * add inner preprocessing module transportation (1 depth) * `PowerTransformer` added * add `PowerTransformer` test case * `power_transformer` added to `test_preprocessings.py` * `SplineTransformer` added * `spline_transformer` added to `test_preprocessings.py` * `SplineTransformer` test case added * `BSpline` transporting added to `preprocessing_transporter.py` * remove unused import * add exception handling to`SplineTransformer` import * add exception handling to`SplineTransformer` testcase * add `TargetEncoder` to `pymilo_param.py` * add `TargetEncoder` testcase * TargetEncoder testcase added * apply dtype dictation only if inner items doesn't have any * enhance `target_encoder` to be comparable before after pymiloing * remove unused variable + fixing the exception type * `CHANGELOG.md` updated * `CHANGELOG.md` updated * add `numpy.nan` to NUMPY_TYPE_DICT * add `NaN` type transportation * `CHANGELOG.md` updated * refactor function's core functionality and make it simpler * make for iterator simpler & faster * remove try, except and decrease the complexity * fulfill preprocessing table * `CHANGELOG.md` enhanced * `autopep8.sh` applied * fix bug * `README.md` updated * revert : changelog older log reverted. * update : requirements updated. * remove : extra line removed in `CHANGELOG.md`. * update : last update tag in `SUPPORTED_MODELS.md` updated. * change : `a` -> `list1` and `b` -> `list2`. * add : `scipy` added to `dev-requirements.txt`. * remove unused import has_named_parameter --------- Co-authored-by: Sadra Sabouri <[email protected]> Co-authored-by: AHReccese <[email protected]>
- Loading branch information
1 parent
0166ff5
commit fe4fc8b
Showing
32 changed files
with
795 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
numpy==1.26.4 | ||
scikit-learn==1.5.0 | ||
scipy>=0.19.1 | ||
setuptools>=40.8.0 | ||
vulture>=1.0 | ||
bandit>=1.5.1 | ||
pydocstyle>=3.0.0 | ||
pytest>=4.3.1 | ||
pytest-cov>=2.6.1 | ||
pytest-cov>=2.6.1 |
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.