diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 400140c..14dd1fa 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,19 @@ Release Changelog ----------------- +0.4.0 (2021-04-23) +~~~~~~~~~~~~~~~~~~ + +* Add ``get_importance_pvalues`` method to estimators (thanks `kmacdon `__) +* Add ``feature_importances_`` attribute, similar to sklearn forests +* Ensure ``self.respect_categorical_features`` is unchanged when fitting by introducing ``self.respect_categorical_features_`` +* Change ``self.n_features_`` to ``self.n_features_in_`` +* Add validation to classification targets, ensuring regression targets can't be passed to classifier +* Add sample weight validation to ensure that passing weights of ones results in identical output when passing None. We do this because ranger does additional RNG on weighted sampling when non-null weights are passed. +* Use ``self._validate_data`` in lieu of ``check_X_y`` when possible +* Use ``self._check_n_features`` in lieu of manually setting n features +* Add tags to estimators + 0.3.2 (2021-01-18) ~~~~~~~~~~~~~~~~~~ diff --git a/pyproject.toml b/pyproject.toml index 23589fb..6fe2d7d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "skranger" -version = "0.3.2" +version = "0.4.0" description = "Python bindings for C++ ranger random forests" authors = ["Flynn "] license = "GPL-3.0-or-later" diff --git a/skranger/_version.py b/skranger/_version.py index f9aa3e1..6a9beea 100644 --- a/skranger/_version.py +++ b/skranger/_version.py @@ -1 +1 @@ -__version__ = "0.3.2" +__version__ = "0.4.0"