Skip to content

Commit

Permalink
release 0.4.0 (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
crflynn committed May 21, 2021
1 parent fa1674c commit 0de5f34
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
Release Changelog
-----------------

0.4.0 (2021-04-23)
~~~~~~~~~~~~~~~~~~

* Add ``get_importance_pvalues`` method to estimators (thanks `kmacdon <https://github.com/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)
~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <crf204@gmail.com>"]
license = "GPL-3.0-or-later"
Expand Down
2 changes: 1 addition & 1 deletion skranger/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.2"
__version__ = "0.4.0"

0 comments on commit 0de5f34

Please sign in to comment.