From 97b3227dffb1fcaca4b4eddd99749414f7bc048e Mon Sep 17 00:00:00 2001 From: FBruzzesi Date: Mon, 8 Apr 2024 13:29:28 +0200 Subject: [PATCH 1/3] add ClusterFoldValidation in the API page section --- docs/api/model-selection.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/api/model-selection.md b/docs/api/model-selection.md index 2e6ee29c8..54304c267 100644 --- a/docs/api/model-selection.md +++ b/docs/api/model-selection.md @@ -1,16 +1,20 @@ # Model Selection -:::sklego.model_selection.GroupTimeSeriesSplit +:::sklego.model_selection.TimeGapSplit options: show_root_full_path: true show_root_heading: true -:::sklego.model_selection.KlusterFoldValidation +:::sklego.model_selection.GroupTimeSeriesSplit options: show_root_full_path: true show_root_heading: true -:::sklego.model_selection.TimeGapSplit +:::sklego.model_selection.ClusterFoldValidation options: show_root_full_path: true show_root_heading: true + +## `KlusterFoldValidation` + +Prior to `version 0.9.0`, the `ClusterFoldValidation` class was named `KlusterFoldValidation`. The old name is deprecated and will be removed in a future releases. From f7ec1c48385d555a325b6dd0a6ce98a07ba15e79 Mon Sep 17 00:00:00 2001 From: FBruzzesi Date: Mon, 8 Apr 2024 13:29:39 +0200 Subject: [PATCH 2/3] bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9e11af6aa..824c5df50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "scikit-lego" -version = "0.8.1" +version = "0.9.0" description="A collection of lego bricks for scikit-learn pipelines" license = {file = "LICENSE"} From f35f75b801a37131d0794abea7be22f1d3a1a723 Mon Sep 17 00:00:00 2001 From: FBruzzesi Date: Mon, 8 Apr 2024 21:56:26 +0200 Subject: [PATCH 3/3] 0.9.0 -> 0.8.2 --- docs/api/model-selection.md | 2 +- pyproject.toml | 2 +- sklego/model_selection.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/model-selection.md b/docs/api/model-selection.md index 54304c267..b9b6b3c90 100644 --- a/docs/api/model-selection.md +++ b/docs/api/model-selection.md @@ -17,4 +17,4 @@ ## `KlusterFoldValidation` -Prior to `version 0.9.0`, the `ClusterFoldValidation` class was named `KlusterFoldValidation`. The old name is deprecated and will be removed in a future releases. +Prior to `version 0.8.2`, the `ClusterFoldValidation` class was named `KlusterFoldValidation`. The old name is deprecated and will be removed in a future releases. diff --git a/pyproject.toml b/pyproject.toml index 824c5df50..e52c2d83f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "scikit-lego" -version = "0.9.0" +version = "0.8.2" description="A collection of lego bricks for scikit-learn pipelines" license = {file = "LICENSE"} diff --git a/sklego/model_selection.py b/sklego/model_selection.py index 28cbc9a53..4d52d817a 100644 --- a/sklego/model_selection.py +++ b/sklego/model_selection.py @@ -261,7 +261,7 @@ class ClusterFoldValidation: """Cross validator that creates folds based on provided cluster method. This ensures that data points in the same cluster are not split across different folds. - !!! info "New in version 0.9.0" + !!! info "New in version 0.8.2" Parameters ----------