From c65b946ccbf4b910e859edb1c20739d507624374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sun, 9 Apr 2023 08:29:25 +0100 Subject: [PATCH 01/11] version numbers --- README.md | 2 +- pyproject.toml | 2 +- sktime/__init__.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 55d4cdc7d1f..e9fcd954f98 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ > A unified interface for machine learning with time series -:rocket: **Version 0.17.0 out now!** [Check out the release notes here](https://www.sktime.net/en/latest/changelog.html). +:rocket: **Version 0.17.1 out now!** [Check out the release notes here](https://www.sktime.net/en/latest/changelog.html). sktime is a library for time series analysis in Python. It provides a unified interface for multiple time series learning tasks. Currently, this includes time series classification, regression, clustering, annotation and forecasting. It comes with [time series algorithms](https://www.sktime.net/en/stable/estimator_overview.html) and [scikit-learn] compatible tools to build, tune and validate time series models. diff --git a/pyproject.toml b/pyproject.toml index 39e418b4425..c0751ceff1b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sktime" -version = "0.17.0" +version = "0.17.1" description = "A unified framework for machine learning with time series" authors = [ {name = "sktime developers", email = "sktime.toolbox@gmail.com"}, diff --git a/sktime/__init__.py b/sktime/__init__.py index 7415e847b1c..9c5ca72566a 100644 --- a/sktime/__init__.py +++ b/sktime/__init__.py @@ -2,7 +2,7 @@ """sktime.""" -__version__ = "0.17.0" +__version__ = "0.17.1" __all__ = ["show_versions"] From 3971af03ab29ae398bd3eadb05f3c1031a5ba6e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sun, 9 Apr 2023 09:31:11 +0100 Subject: [PATCH 02/11] changelog --- docs/source/changelog.rst | 44 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 56cf2e3c2ba..0ac521d3217 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -14,6 +14,50 @@ For upcoming changes and next releases, see our `milestones =1.1.0``, + * ``sktime`` can be run and tested with ``pandas 2.0.X`` by force-installing ``pandas 2.0.X`` + * estimators can be tested for ``pandas 2`` compatibility via ``check_estimator`` under force-installed ``pandas 2.0.X`` + * reports on compatibility issues are appreciated in :issue:`4426` (direct input or link from) + +* in the full support period (0.19.0-onwards): + + * ``sktime`` requirements will allow ``pandas 2.0.X`` and extend support with ``pandas`` releases + * ``sktime`` will aim to be compatible with ``pandas 2`` (any version), as well as ``pandas 1, >=1.1.0`` + * users choose their preferred ``pandas`` version by requirements on their downstream environment + * the bug and issue trackers should be used as normal + Version 0.17.0 - 2023-04-03 --------------------------- From 00a9831a2af9d47a6d83f3805df005a7e0b54dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Sun, 9 Apr 2023 11:50:19 +0100 Subject: [PATCH 03/11] attrs --- docs/source/changelog.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 0ac521d3217..d3cfe4f77f4 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -23,17 +23,17 @@ Version 0.17.1 - 2023-04-11 User feedback and ``pandas`` 2 compatibility issues are appreciated in :issue:`4426`. -Deprecations and removals -~~~~~~~~~~~~~~~~~~~~~~~~~ - -Dependencies -^^^^^^^^^^^^ +Dependency changes +~~~~~~~~~~~~~~~~~~ * the version bound ``pandas<2.0.0`` will be relaxed to ``pandas<2.1.0`` in ``sktime 0.19.0`` -* option 1: to keep using ``pandas 1.X`` from ``0.19.0`` onwards, simply introduce the ``pandas<2.0.0`` bound in downstream requirements -* option 2: to upgrade safely to ``pandas 2.X``, follow the upgrade and testing instructions below -* neither option impacts public interfaces of ``sktime``, i.e., there are no removals, deprecations, - or changes of contract besides the change of ``pandas`` bound in ``sktime`` requirements + + * option 1: to keep using ``pandas 1.X`` from ``0.19.0`` onwards, simply introduce the ``pandas<2.0.0`` bound in downstream requirements + * option 2: to upgrade safely to ``pandas 2.X``, follow the upgrade and testing instructions below + * neither option impacts public interfaces of ``sktime``, i.e., there are no removals, deprecations, + or changes of contract besides the change of ``pandas`` bound in ``sktime`` requirements + +* ``attrs`` changes from an implied (non-explicit) soft dependency to an explicit soft dependency (in ``all_extras``) ``pandas 2`` upgrade and testing ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From 44a8e05e1a41133cff005454125b63ae14fecff5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Mon, 10 Apr 2023 09:23:46 +0100 Subject: [PATCH 04/11] PR list --- docs/source/changelog.rst | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index d3cfe4f77f4..067742464a8 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -14,14 +14,16 @@ For upcoming changes and next releases, see our `milestones Date: Mon, 10 Apr 2023 09:24:46 +0100 Subject: [PATCH 05/11] chandannaidu6 credits to 0.18.0 --- docs/source/changelog.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 067742464a8..4e0a55d969c 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -14,6 +14,14 @@ For upcoming changes and next releases, see our `milestones Date: Tue, 25 Apr 2023 07:57:57 +0100 Subject: [PATCH 06/11] release 0.18.0 --- README.md | 2 +- docs/source/changelog.rst | 35 ++++++++++++++++++++++++++++++++++- pyproject.toml | 2 +- sktime/__init__.py | 2 +- 4 files changed, 37 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e9fcd954f98..b0a737db7d0 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ > A unified interface for machine learning with time series -:rocket: **Version 0.17.1 out now!** [Check out the release notes here](https://www.sktime.net/en/latest/changelog.html). +:rocket: **Version 0.18.0 out now!** [Check out the release notes here](https://www.sktime.net/en/latest/changelog.html). sktime is a library for time series analysis in Python. It provides a unified interface for multiple time series learning tasks. Currently, this includes time series classification, regression, clustering, annotation and forecasting. It comes with [time series algorithms](https://www.sktime.net/en/stable/estimator_overview.html) and [scikit-learn] compatible tools to build, tune and validate time series models. diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 4e0a55d969c..5602ed70c89 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -14,7 +14,40 @@ For upcoming changes and next releases, see our `milestones Date: Tue, 25 Apr 2023 08:01:14 +0100 Subject: [PATCH 07/11] fix merge accident --- docs/source/changelog.rst | 131 ++++++++++---------------------------- 1 file changed, 33 insertions(+), 98 deletions(-) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 63b034cc4d9..6c5fd98c790 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -13,6 +13,39 @@ All notable changes to this project will be documented in this file. We keep tra For upcoming changes and next releases, see our `milestones `_. For our long-term plan, see our :ref:`roadmap`. + +Version 0.18.0 - 2023-04-25 +--------------------------- + +Highlights +~~~~~~~~~~ + +Dependency changes +~~~~~~~~~~~~~~~~~~ + +* ``numba`` is no longer a core dependency, it has changed to soft dependency +* ``scikit-base`` is a new core dependency + +Core interface changes +~~~~~~~~~~~~~~~~~~~~~~ + + + +Deprecations and removals +~~~~~~~~~~~~~~~~~~~~~~~~~ + +Dependencies +^^^^^^^^^^^^ + +* ``numba`` has changed from core dependency to soft dependency in ``sktime 0.18.0``. + To ensure functioning of setups of ``sktime`` code dependent on ``numba`` based estimators + going forward, ensure to install ``numba`` in the environment explicitly, + or install the ``all_extras`` soft dependency set which will continue to contain ``numba``. + Besides this, ``numba`` dependent estimators will function identically as before. +* ``sktime``'s base module has moved to a new core dependency, ``scikit-base``, from ``sktime 0.18.0``. + This will not impact functionality or imports directly from ``sktime``, or any usage. + + Version 0.17.2 - 2023-04-24 --------------------------- @@ -142,104 +175,6 @@ Contributors :user:`yarnabrina` -Version 0.17.1 - 2023-04-10 ---------------------------- - -Maintenance patch (``pandas 2``, ``attrs``). For last content update, see 0.17.0. - -* ``pandas 2`` compatibility patch -* experimental support for ``pandas 2`` with testing and upgrade instructions for users -* ``sktime`` will continue to support ``pandas 1`` versions - -User feedback and ``pandas 2`` compatibility issues are appreciated in :issue:`4426`. - -Dependency changes -~~~~~~~~~~~~~~~~~~ - -* the version bound ``pandas<2.0.0`` will be relaxed to ``pandas<2.1.0`` in ``sktime 0.19.0`` - - * option 1: to keep using ``pandas 1.X`` from ``0.19.0`` onwards, simply introduce the ``pandas<2.0.0`` bound in downstream requirements - * option 2: to upgrade safely to ``pandas 2.X``, follow the upgrade and testing instructions below - * neither option impacts public interfaces of ``sktime``, i.e., there are no removals, deprecations, - or changes of contract besides the change of ``pandas`` bound in ``sktime`` requirements - -* ``attrs`` changes from an implied (non-explicit) soft dependency to an explicit soft dependency (in ``all_extras``) - -``pandas 2`` upgrade and testing -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -* support for ``pandas 2`` will be introduced gradually: - - * experimental support period until 0.19.0 (all 0.17.X and 0.18.X versions) - * full support from 0.19.0 (0.19.0, 0.19.X and onwards) - -* in the experimental period (0.17.1-0.18.last): - - * ``sktime`` will have a dependency bound of ``pandas<2.0.0`` - * ``sktime`` will aim to be compatible with ``pandas 2.0.X`` as well as ``pandas 1, >=1.1.0``, - * ``sktime`` can be run and tested with ``pandas 2.0.X`` by force-installing ``pandas 2.0.X`` - * estimators can be tested for ``pandas 2`` compatibility via ``check_estimator`` under force-installed ``pandas 2.0.X`` - * reports on compatibility issues are appreciated in :issue:`4426` (direct input or link from) - -* in the full support period (0.19.0-onwards): - - * ``sktime`` requirements will allow ``pandas 2.0.X`` and extend support with ``pandas`` releases - * ``sktime`` will aim to be compatible with ``pandas 2`` (any version), as well as ``pandas 1, >=1.1.0`` - * users choose their preferred ``pandas`` version by requirements on their downstream environment - * the bug and issue trackers should be used as normal - -List of PR -~~~~~~~~~~ - -* [MNT] address deprecation of ``"mad"`` option on ``DataFrame.agg`` and ``Series.agg`` (:pr:`4435`) :user:`fkiraly` -* [MNT] address deprecation of automatic drop on ``DataFrame.agg`` on non-numeric columns (:pr:`4436`) :user:`fkiraly` -* [MNT] resolve ``freq`` related deprecations and ``pandas 2`` failures in reducers (:pr:`4438`) :user:`fkiraly` -* [MNT] except ``Prophet`` from ``test_predict_quantiles`` due to sporadic failures (:pr:`4432`) :user:`fkiraly` -* [MNT] except ``VECM`` from ``test_predict_quantiles`` due to sporadic failures (:pr:`4442`) :user:`fkiraly` -* [MNT] fix and sharpen soft dependency isolation logic for ``statsmodels`` and ``pmdarima`` (:pr:`4443`) :user:`fkiraly` -* [MNT] isolating ``attrs`` imports (:pr:`4450`) :user:`fkiraly` - -Version 0.18.0 - 2023-04-25 ---------------------------- - -Highlights -~~~~~~~~~~ - -Dependency changes -~~~~~~~~~~~~~~~~~~ - -* ``numba`` is no longer a core dependency, it has changed to soft dependency -* ``scikit-base`` is a new core dependency - -Core interface changes -~~~~~~~~~~~~~~~~~~~~~~ - - - -Deprecations and removals -~~~~~~~~~~~~~~~~~~~~~~~~~ - -Dependencies -^^^^^^^^^^^^ - -* ``numba`` has changed from core dependency to soft dependency in ``sktime 0.18.0``. - To ensure functioning of setups of ``sktime`` code dependent on ``numba`` based estimators - going forward, ensure to install ``numba`` in the environment explicitly, - or install the ``all_extras`` soft dependency set which will continue to contain ``numba``. - Besides this, ``numba`` dependent estimators will function identically as before. -* ``sktime``'s base module has moved to a new core dependency, ``scikit-base``, from ``sktime 0.18.0``. - This will not impact functionality or imports directly from ``sktime``, or any usage. - - - -Version 0.17.2 - 2023-04-24 ---------------------------- - -* [DOC] timeseers added to the related_software.rst page (:pr:`4433`) :user:`chandannaidu6` - -:user:`chandannaidu6` - - Version 0.17.1 - 2023-04-10 --------------------------- From 6b3a86d334da7043f69e4f2dbaa1481059f6bf76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Fri, 28 Apr 2023 22:25:10 +0100 Subject: [PATCH 08/11] release notes --- docs/source/changelog.rst | 64 ++++++++++++++++++++++++++++++++++----- 1 file changed, 56 insertions(+), 8 deletions(-) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 6c5fd98c790..60445a61a7e 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -14,11 +14,24 @@ For upcoming changes and next releases, see our `milestones =1.1.0``, + * ``sktime`` can be run and tested with ``pandas 2.0.X`` by force-installing ``pandas 2.0.X`` + * estimators can be tested for ``pandas 2`` compatibility via ``check_estimator`` under force-installed ``pandas 2.0.X`` + * reports on compatibility issues are appreciated in :issue:`4426` (direct input or link from) + +* in the full support period (0.19.0-onwards): + + * ``sktime`` requirements will allow ``pandas 2.0.X`` and extend support with ``pandas`` releases + * ``sktime`` will aim to be compatible with ``pandas 2`` (any version), as well as ``pandas 1, >=1.1.0`` + * users choose their preferred ``pandas`` version by requirements on their downstream environment + * the bug and issue trackers should be used as normal + +List of PR +~~~~~~~~~~ Version 0.17.2 - 2023-04-24 --------------------------- From 0d8a97f2438e6b89f62af336ebc2bcf375b321b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Fri, 28 Apr 2023 22:27:43 +0100 Subject: [PATCH 09/11] changelog --- docs/source/changelog.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 60445a61a7e..1e55fc8ebef 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -31,7 +31,7 @@ Contents the abstract base layer for ``scikit-learn`` like packages maintained by ``sktime`` * ``pandas 2`` support continues in testing/experimental period, see instructions for upgrading to ``pandas 2`` or remaining on ``pandas 1`` below. -* scheduled deprecation of ``tensorflow`` based probability interface. +* scheduled deprecation of ``tensorflow`` based probability interface and ``VectorizedDF`` methods. Dependency changes ~~~~~~~~~~~~~~~~~~ @@ -56,6 +56,12 @@ Dependencies as the only dependency locus (forecasters' old ``predict_proba`` return type) is being deprecated. +Data types, checks, conversions +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +* ``VectorizedDF.get_iloc_indexer`` was removed. + Developers and users should use ``iter``, ``__iter__``, or ``get_iter_indices`` instead. + Forecasting ^^^^^^^^^^^ From 3779151efea9e4e0f39db956743ab2744e2eff95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Fri, 28 Apr 2023 22:32:40 +0100 Subject: [PATCH 10/11] release notes --- docs/source/changelog.rst | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 1e55fc8ebef..776b405930f 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -29,8 +29,10 @@ Contents continue working unchanged, but require explicit ``numba`` installation. * the base module of ``sktime`` has been factored out to ``scikit-base``, the abstract base layer for ``scikit-learn`` like packages maintained by ``sktime`` -* ``pandas 2`` support continues in testing/experimental period, see instructions - for upgrading to ``pandas 2`` or remaining on ``pandas 1`` below. +* ``pandas 2`` support continues in testing/experimental period until 0.18.last. + All ``sktime`` native functionality is ``pandas 2`` compatible, the transition period + allows testing of deployments and custom extensions. + See instructions below for upgrading dependenet code to ``pandas 2``, or remaining on ``pandas 1``. * scheduled deprecation of ``tensorflow`` based probability interface and ``VectorizedDF`` methods. Dependency changes @@ -65,12 +67,10 @@ Data types, checks, conversions Forecasting ^^^^^^^^^^^ -* forecasters' ``predict_proba`` pre-0.17.0 ``tensorflow`` based return will - be replaced by ``BaseDistribution`` object based return. - This will be phased out in two minor cycles as follows. * forecasters' ``predict_proba`` now by default returns a ``BaseDistribution``. - The old ``tensorflow-probability`` based return can be obtained by setting the argument - ``legacy_interface=False`` in ``predict_proba``. This is useful for handling deprecation. + The old ``tensorflow-probability`` based return from pre-0.17.0 can still be obtained + by setting the argument ``legacy_interface=False`` in ``predict_proba``. + This is useful for handling deprecation. * from 0.19.0, the ``legacy_interface`` argument will be removed from ``predict_proba``, together with the option to return ``tensorflow-probability`` based returns. @@ -100,6 +100,15 @@ Forecasting List of PR ~~~~~~~~~~ +* [MNT] 0.18.0 change action - ``numba`` as soft dependency (:pr:`3843`) :user:`fkiraly` +* [MNT] 0.18.0 deprecation actions (:pr:`4510`) :user:`fkiraly` +* [MNT] ensure ``predict_proba`` calls in ``mlflow`` forecasting interface explicitly call ``legacy_interface`` (:pr:`4514`) :user:`fkiraly` +* [MNT] ``skbase`` refactor - part 1: ``BaseObject`` and package dependencies (:pr:`3151`) :user:`fkiraly` +* [MNT] ``skbase`` refactor - part 2: ``all_estimators`` lookup (:pr:`3777`) :user:`fkiraly` +* [ENH] ``quantile`` method for distributions, default implementation of forecaster ``predict_quantiles`` if ``predict_proba`` is present (:pr:`4513`) :user:`fkiraly` +* [ENH] add test for ``all_estimators`` tag filter (:pr:`4512`) :user:`fkiraly` + + Version 0.17.2 - 2023-04-24 --------------------------- From a6a887eeedcebf9727b98918e509327ec3bd9f8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20Kir=C3=A1ly?= Date: Fri, 28 Apr 2023 22:56:25 +0100 Subject: [PATCH 11/11] typo --- docs/source/changelog.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 776b405930f..30adb08ba8f 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -25,7 +25,7 @@ For last non-maintenance content update, see 0.17.2. Contents ~~~~~~~~ -* ``numba`` has been changed to be a soft dependency. All ``numba``based estimators +* ``numba`` has been changed to be a soft dependency. All ``numba`` based estimators continue working unchanged, but require explicit ``numba`` installation. * the base module of ``sktime`` has been factored out to ``scikit-base``, the abstract base layer for ``scikit-learn`` like packages maintained by ``sktime``