Skip to content

Commit

Permalink
MAINT HonestForestClassifier now has bootstrap=True as the defaul…
Browse files Browse the repository at this point in the history
…t. And removing old MIGHT code (#274)

* Fix honest forest bootstrap option
* Cleanup old class-based (CO)MIGHT code
* Fix bug in `build_coleman_forest` where covariate_index was not being passed through

---------

Signed-off-by: Adam Li <adam2392@gmail.com>
  • Loading branch information
adam2392 committed Jun 11, 2024
1 parent e858963 commit 3cfb082
Show file tree
Hide file tree
Showing 19 changed files with 269 additions and 3,627 deletions.
4 changes: 0 additions & 4 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,6 @@ tree models.
.. autosummary::
:toctree: generated/

FeatureImportanceForestRegressor
FeatureImportanceForestClassifier
PermutationForestClassifier
PermutationForestRegressor
build_coleman_forest
build_permutation_forest
build_oob_forest
Expand Down
2 changes: 1 addition & 1 deletion doc/whats_new/v0.5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Changelog
handles the case where there is one feature view that is exhausted, and
another that is not for ``apply_max_features_per_feature_set = False``,
by `Adam Li`_ (:pr:`#183`).
- |Fix| :class:`sktree.stats.FeatureImportanceForestClassifier` now correctly passes
- |Fix| ``sktree.stats.FeatureImportanceForestClassifier`` now correctly passes
metric kwargs to the null distribution function, by `Adam Li`_ (:pr:`#183`).

Code and Documentation Contributors
Expand Down
2 changes: 1 addition & 1 deletion doc/whats_new/v0.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Changelog
handles the case where there is one feature view that is exhausted, and
another that is not for ``apply_max_features_per_feature_set = False``,
by `Adam Li`_ (:pr:`#183`).
- |Fix| :class:`sktree.stats.FeatureImportanceForestClassifier` now correctly passes
- |Fix| ``sktree.stats.FeatureImportanceForestClassifier`` now correctly passes
metric kwargs to the null distribution function, by `Adam Li`_ (:pr:`#183`).
- |Enhancement| :func:`sktree.datasets.make_trunk_classification` now
has a generative model based on Trunk and banded covariance, :func:`sktree.datasets.approximate_clf_mutual_information` and
Expand Down
4 changes: 4 additions & 0 deletions doc/whats_new/v0.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ Changelog
- |Feature| Simulations in ``sktree.datasets.hyppo`` now throw a warning instead
of an error when the number of samples is less than the number of dimensions.
By `Sambit Panda`_ (:pr:`#279`)
- |API| :class:`sktree.HonestForestClassifier` now has ``bootstrap=True`` as the default
argument. By `Adam Li`_ (:pr:`#274`)
- |API| Removed all instances of ``FeatureImportanceForestClassifier`` and outdated
MIGHT code. By `Adam Li`_ (:pr:`#274`)

Code and Documentation Contributors
-----------------------------------
Expand Down
6 changes: 0 additions & 6 deletions examples/hypothesis_testing/README.txt

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3cfb082

Please sign in to comment.