Changelog#
All notable changes to this project beginning with version 0.1.0 will be documented in this file. The format is based on Keep a Changelog and we adhere to Semantic Versioning. The source code for all releases is available on GitHub.
You can also subscribe to skbase’s
PyPi release.
For planned changes and upcoming releases, see our Roadmap.
[0.7.4] - 2024-03-01#
Small hotfix release.
Contents#
[0.7.3] - 2024-02-29#
Feature and bugfix release.
Core interface changes#
all_objectsnow allows filtering for arbitrary parent classes, not just classes inheriting fromBaseObject. This is useful for looking up objects in a third party package that are not part of theskbasehierarchy.
Enhancements#
Fixes#
Documentation#
Maintenance#
[MNT] add
codecov` config ``yml, remove CI failure condition (#296) @fkiraly[MNT] remove unnecessary CI triggers for release branches (#298) @fkiraly
[pre-commit.ci] pre-commit autoupdate by (#289) @pre-commit-ci
[MNT] [Dependabot](deps): Bump codecov/codecov-action from
3to4(#283) @dependabot[MNT] [Dependabot](deps): Bump pre-commit/action from
3.0.0to3.0.1(#287) @dependabot
Contributors#
[0.7.2] - 2024-01-31#
Feature and bugfix release.
Core interface changes#
all
BaseObjectdescendants now possess a methodset_random_state. This can be used for nested setting ofrandom_statevariables, and is useful for ensuring reproducibility in nested estimators. (#268) @fkiralyall_objectsnow supports filtering for list-valued tags infilter_tagsas a convenience feature. When the query value is a single value or a list, the filter condition is that the tag value and the query value have at least one element in common. (#273) @fkiraly
Enhancements#
Fixes#
[BUG] Fix cloning of config for nested objects (#276) @tpvasconcelos
Documentation#
Maintenance#
[pre-commit.ci] pre-commit autoupdate (#274) @precommit-ci
[MNT] [Dependabot](deps): Bump
actions/dependency-review-actionfrom 3 to 4 (#269) @dependabot[MNT] [Dependabot](deps-dev): Update
sphinx-issuesrequirement from<4.0.0to<5.0.0(#271) @dependabot[MNT] [Dependabot](deps): Bump styfle/cancel-workflow-action from
0.12.0to0.12.1(#272) @dependabot[MNT] Add common IDE files to
.gitignore(#277) @tpvasconcelos
Contributors#
[0.7.1] - 2023-01-12#
Minor bugfix and maintenance release.
Contents#
[BUG] fix
deep_equalsfornp.arraywithdtype="object"(#263) @fkiraly[pre-commit.ci] pre-commit autoupdate (#264) @precommit-ci
[0.7.0] - 2023-01-03#
Bugfix release with potentially breaking changes related to
set_config, get_config (#257, #259, @fkiraly)
due to masking of third party bugs,
please consult the changelog for details in case of breakage.
Core interface changes#
configuration values - set via
set_configand inspectable viaget_config- are now retained throughcloneandreset. Previous behaviour was to reset configuration values to default, which is considered a bug. However, this change may break existing code if two errors cancel out, e.g., if a breaking (without bug) configuration was set, the reset through the bug. In this case, the bug masked the breaking configuration, which should be addressed. Most breakages over 0.6.2 should be addressable by removingset_configcalls, i.e., removing the genuinely breaking configuration.A configuration field
clone_configwas added that allows to configure whethercloneshould clone the configuration. This is useful for meta-estimators that should not clone the configuration of their components. This change is not breaking - considered in difference to the above - as the default behaviour is to clone the configuration.
Fixes#
[0.6.2] - 2023-12-30#
Release with minor improvements and bugfixes.
Enhancements#
Fixes#
Documentation#
[DOC] Fixed spelling mistakes as identified by
codespellandtypos(#245) @yarnabrina
Maintenance#
[MNT] [Dependabot](deps-dev): Update sphinx-gallery requirement from
<0.15.0to<0.16.0(#247) @dependabot[MNT] [Dependabot](deps): Bump actions/setup-python from 4 to 5 (#250) @dependabot
[MNT] [Dependabot](deps): Bump conda-incubator/setup-miniconda from 2 to 3 (#249) @dependabot
[MNT] [Dependabot](deps): Bump github/codeql-action from 2 to 3 (#252) @dependabot
[MNT] [Dependabot](deps): Bump actions/download-artifact from 3 to 4 (#253) @dependabot
[MNT] [Dependabot](deps): Bump actions/upload-artifact from 3 to 4 (#254) @dependabot
[0.6.1] - 2023-10-26#
Highlights#
set_paramsnow recognizes unique suffixes as aliases for full parameter strings, e.g.,fooinstead ofestimator__component__foo(#229) @fkiralythe
deep_equalsutility now admits custom plugins with dependency isolation, e.g., for data types such asdaskorpolars(#238) @fkiralydependabotis now enabled for theskbaserepository (#228) @fkiraly
Core interface changes#
set_paramsnow recognizes unique suffixes as aliases for full parameter strings. This change is not breaking as behaviour changes only in cases where previously exceptions were raised.
Enhancements#
[ENH]
set_paramsto recognize unique suffixes as aliases for full parameter string (#229) @fkiraly[ENH] refactor string coercions and return logic in
deep_equalsutility (#237) @fkiraly[ENH] improved
deep_equalsutility - plugins for custom types (#238) @fkiraly[ENH] informative failure message in
test_get_package_metadata_returns_expected_results(#239) @fkiraly
Maintenance#
[MNT] activate
dependabotfor version updates and maintenance (#228) @fkiraly[MNT] [Dependabot](deps): Bump actions/upload-artifact from 2 to 3 (#230) @dependabot
[MNT] [Dependabot](deps): Bump actions/dependency-review-action from 1 to 3 (#231) @dependabot
[MNT] [Dependabot](deps): Bump actions/checkout from 3 to 4 (#232) @dependabot
[MNT] [Dependabot](deps): Bump actions/download-artifact from 2 to 3 (#233) @dependabot
[MNT] [Dependabot](deps): Bump styfle/cancel-workflow-action from 0.9.1 to 0.12.0 (#234) @dependabot
Fixes#
[0.6.0] - 2023-10-05#
Maintenance release at python 3.12 release.
Adds support for python 3.12.
Dependency changes#
skbasenow supports python 3.12.
Deprecations and removals#
the
deep_equalsutility has moved toskbase.utils.deep_equals. The old location inskbase.testing.utils.deep_equalshas now been removed.
Contents#
[0.5.2] - 2023-10-03#
Release with minor improvements.
[0.5.1] - 2023-08-14#
Release with minor improvements and bugfixes.
Enhancements#
Documentation#
Maintenance#
Fixes#
[0.5.0] - 2023-06-21#
Maintenance release at python 3.7 end-of-life.
Removes support for python 3.7.
[0.4.6] - 2023-06-16#
Bugfix release:
[BUG] fix clone for nested sklearn estimators (#195) @fkiraly, @hazrulakmal
[BUG] fix faulty
suppress_import_stdoutinall_objects(#193) @fkiraly
[0.4.5] - 2023-05-14#
Dummy release for aarch64 support on conda (added in recipe there).
[0.4.4] - 2023-05-13#
Regular maintenance release.
Deprecations and removals#
The deep_equals utility has moved to skbase.utils.deep_equals.
The old location in skbase.testing.utils.deep_equals will be removed in
skbase 0.6.0, until then it can still be imported from there, with a warning.
Maintenance#
Contributors#
[0.4.3] - 2023-05-04#
Hotfix for accidental import of pytest through BaseObject.clone,
including test for pytest dependency isolation.
Contents#
[0.4.2] - 2023-05-02#
Maintenance update that cleans up dependencies.
Notably, scikit-base no longer has any core dependencies.
This is as per usage intention as a base module, therefore this removal is not accompanied by deprecation.
Dependency changes#
scikit-learn,typing-extensions, andpytestare no longer core dependencies.pytestremains a dependency indevandtestdependency sets.scikit-learnis now part of thedevandtestdependency sets, as it is required to test compatibility withscikit-learna dependency conflict has been resolved in the
docsdependency set for the docs build, by pinning versions
Maintenance#
[0.4.1] - 2023-04-26#
Small bugfix patch for pydata 2023 Seattle notebooks.
Fixes#
[0.4.0] - 2023-04-25#
Highlights#
classes for heterogeneous collections aka meta-objects:
BaseMetaObjectandBaseMetaEstimator, based onsklearnandsktime(#107, #155)skbasenativeget_paramsandget_fitted_paramsinterface, both withdeepargument (#115, #117) @fkiralytag and config manager for objects, with
get_tag,set_tag,get_config,set_config, etc (#138, #140, #155) @fkiralysklearnstyle pretty printing, configurable via tags (#156) @fkiraly, @RNKuhns
Enhancements#
[ENH] Update meta classes and add unit tests (#107) @RNKuhns
[ENH] ensure that
all_objectsalways returns (class name/class) pairs (#115) @fkiraly[ENH] Initial type and named object validator code (#122) @RNKuhns
[ENH] Add
object_typeparam to named object check (#136) @RNKuhns[ENH]
sklearnstyle pretty printing (#156) @fkiraly, @RNKuhns
Fixes#
Documentation#
[DOC] Update installation guide to build
skbasein a virtual env (#157) @achieveordie
Maintenance#
Contributors#
[0.3.0] - 2023-01-08#
Highlights#
Reorganized package functionality into submodules focused on specific functionality (#78):
skbase.baseforBaseObject,BaseEstimatorand other base classesskbase.testingfor functionality to testBaseObject-sskbase.lookupfor retrieving metadata and allBaseObject-s from a packageskbase.validatefor comparing and validatingBaseObject-s
Expanded test coverage of
skbase.baseandskbase.lookupmodules andskbaseexceptions (#62, #80, #91) @rnkuhnsAdd equality dunder to
BaseObjectto allowBaseObject-s to be compared based on parameter equality (#86) @fkiralyAdd
sktime-like interface for retrieving fitted parameters toBaseEstimator(#87) @fkiraly
Enhancements#
Reorganized package functionality into submodules focused on specific functionality (#78) @rnkuhns
Add equality dunder to
BaseObjectto allowBaseObject-s to be compared based on parameter equality (#86) @fkiralyAdd
sktime-like interface for retrieving fitted parameters toBaseEstimator(#87) @fkiralyRename
QuickTester.run_testsparameterreturn_exceptionstoraise_exceptions(#95) @fkiraly
Fixes#
Documentation#
Maintenance#
Contributors#
[0.2.0] - 2022-09-09#
This release is a maintenance release to change the name of the package
from baseobject to skbase.