From 31697e8742eeb00d367b73d74fa58a2bbb191803 Mon Sep 17 00:00:00 2001 From: Soledad Galli Date: Tue, 14 May 2024 16:07:22 +0200 Subject: [PATCH 1/4] release 1.8.0 --- docs/whats_new/index.rst | 1 + docs/whats_new/v_170.rst | 24 -------------------- docs/whats_new/v_180.rst | 49 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 24 deletions(-) create mode 100644 docs/whats_new/v_180.rst diff --git a/docs/whats_new/index.rst b/docs/whats_new/index.rst index f14e7995e..58e9d42e6 100644 --- a/docs/whats_new/index.rst +++ b/docs/whats_new/index.rst @@ -8,6 +8,7 @@ Find out what's new in each new version release. .. toctree:: :maxdepth: 2 + v_180 v_170 v_160 v_150 diff --git a/docs/whats_new/v_170.rst b/docs/whats_new/v_170.rst index cc001fcff..adf8e5471 100644 --- a/docs/whats_new/v_170.rst +++ b/docs/whats_new/v_170.rst @@ -1,30 +1,6 @@ Version 1.7.X ============= - -Version 1.7.1 -------------- - -Deployed: XXth XX 2024 - -Contributors -~~~~~~~~~~~~ - -- `Soledad Galli `_ - -TBD - -New functionality -~~~~~~~~~~~~~~~~~ - -TBD - -Enhancements -~~~~~~~~~~~~ - -- The `DecisionTreeDiscretiser()` can now replace the continuous attributes with the decision tree predictions, interval limits, or bin numnber (`Soledad Galli `_) - - Version 1.7.0 ------------- diff --git a/docs/whats_new/v_180.rst b/docs/whats_new/v_180.rst new file mode 100644 index 000000000..466c41ca8 --- /dev/null +++ b/docs/whats_new/v_180.rst @@ -0,0 +1,49 @@ +Version 1.8.X +============= + + +Version 1.8.0 +------------- + +Deployed: XXth XX 2024 + +Contributors +~~~~~~~~~~~~ + +- `Cainã Max Couto da Silva `_ +- `Gurjinder Kaur `_ +- `Gleb Levitski `_ +- `Lorenzo Vitali `_ +- `Soledad Galli `_ + +In this release, we make some breaking changes. The `DecisionTreeEncoder()` does not have the encoding pipeline any more. +In its place, we now added an `encoding_dict_` parameter that stores the mappings from category to predictions of the +decision tree. This allowed us to implement in addition a way to handle unseen categories and the method `inverse_transform`. + +We also expanded the functionality of the `DecisionTreeDiscretiser()`, which can now replace the continuous attributes +with the decision tree predictions, interval limits, or bin number. + +The classes from the module `outliers` can now automatically select the limit for the boundaries for outliers. + +Finally, we have updated and expanded various pages of our documentation. + +Thank you very much to all contributors to this release and to `Vasco Schiavo `_ and +`Gleb Levitski `_ for actively reviewing many of our PRs. + +If you value what we do, please consider `sponsoring us `_, so that we can keep +updating Feature-engine at a fast pace. + +Enhancements +~~~~~~~~~~~~ + +- `DecisionTreeEncoder` now supports encodings for unseen categories, `inverse_transform`, and provides an encoding dictionary instead of the pipeline (`Soledad Galli `_, `Gleb Levitski `_ and `Lorenzo Vitali `_ ) +- The `DecisionTreeDiscretiser()` can now replace the continuous attributes with the decision tree predictions, interval limits, or bin number (`Soledad Galli `_) +- The `OutlierTrimmer()` and `Winsorizer()` can now adjust the strength of the outlier search automatically based of the statistical method (param `fold="auto"`) (`Gleb Levitski `_) + + +Documentation +~~~~~~~~~~~~~ + +- Improve user guide for `PowerTransformer()` (`Cainã Max Couto da Silva `_) +- Improve user guide for `EqualFrequencyDiscretiser()` and `EqualWidthDiscretiser` (`Cainã Max Couto da Silva `_) +- Improve user guide for the categorical encoding module (`Gurjinder Kaur `_) From 1de0253d014bb7974b770b15a2260f94a5c9b182 Mon Sep 17 00:00:00 2001 From: Soledad Galli Date: Tue, 14 May 2024 16:11:53 +0200 Subject: [PATCH 2/4] bump version --- .circleci/config.yml | 4 ++-- feature_engine/VERSION | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 29a01af0f..b03548e69 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -156,7 +156,7 @@ workflows: filters: branches: ignore: - - 1.7.X + - 1.8.X - package_and_upload_to_pypi: requires: - test_feature_engine_py39 @@ -169,4 +169,4 @@ workflows: filters: branches: only: - - 1.7.X \ No newline at end of file + - 1.8.X \ No newline at end of file diff --git a/feature_engine/VERSION b/feature_engine/VERSION index bd8bf882d..27f9cd322 100644 --- a/feature_engine/VERSION +++ b/feature_engine/VERSION @@ -1 +1 @@ -1.7.0 +1.8.0 From 436ab18cc54b3d6775041af03968626012d2d6be Mon Sep 17 00:00:00 2001 From: Soledad Galli Date: Sun, 26 May 2024 13:48:40 +0200 Subject: [PATCH 3/4] add decision tree features to whatsnew --- docs/whats_new/v_180.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/whats_new/v_180.rst b/docs/whats_new/v_180.rst index 466c41ca8..b68553831 100644 --- a/docs/whats_new/v_180.rst +++ b/docs/whats_new/v_180.rst @@ -1,7 +1,6 @@ Version 1.8.X ============= - Version 1.8.0 ------------- @@ -23,6 +22,9 @@ decision tree. This allowed us to implement in addition a way to handle unseen c We also expanded the functionality of the `DecisionTreeDiscretiser()`, which can now replace the continuous attributes with the decision tree predictions, interval limits, or bin number. +In addition, we introduce a new transformer, the `DecisionTreeFreatures()`, which adds new features to the data, +resulting from predictions of decision trees trained on one or more features. + The classes from the module `outliers` can now automatically select the limit for the boundaries for outliers. Finally, we have updated and expanded various pages of our documentation. @@ -33,6 +35,12 @@ Thank you very much to all contributors to this release and to `Vasco Schiavo `_, so that we can keep updating Feature-engine at a fast pace. +New +~~~ + +- `DecisionTreeFeatures` is a new transformer from the creation module that adds features based of predictions of decision trees (`Soledad Galli `_) + + Enhancements ~~~~~~~~~~~~ From d8748443f0e189329e01a5cdd570975cd7167bdc Mon Sep 17 00:00:00 2001 From: Soledad Galli Date: Sun, 26 May 2024 14:43:58 +0200 Subject: [PATCH 4/4] add release date --- docs/whats_new/v_180.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/whats_new/v_180.rst b/docs/whats_new/v_180.rst index b68553831..353be1965 100644 --- a/docs/whats_new/v_180.rst +++ b/docs/whats_new/v_180.rst @@ -4,7 +4,7 @@ Version 1.8.X Version 1.8.0 ------------- -Deployed: XXth XX 2024 +Deployed: 26th May 2024 Contributors ~~~~~~~~~~~~