Skip to content

Commit 9009e61

Browse files
authored
Update NEOFIT
1 parent 52342aa commit 9009e61

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

treeple/stats/neofit.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
from statsmodels.stats.multitest import multipletests
66
from tqdm import tqdm
77

8-
from treeple import ObliqueRandomForestClassifier, PatchObliqueRandomForestClassifier
8+
from ..ensemble._supervised_forest import(
9+
ObliqueRandomForestClassifier,
10+
PatchObliqueRandomForestClassifier,
11+
)
912

1013

1114
class NeuroExplainableOptimalFIT:
@@ -71,7 +74,7 @@ class NeuroExplainableOptimalFIT:
7174
7275
Reference:
7376
----------
74-
[1] Li, Haoyin, et al. "Manifold Oblique Random Forests.",/
77+
[1] Adam Li, Haoyin Xu, et al. "Manifold Oblique Random Forests.",/
7578
IEEE Transactions on Neural Networks and Learning Systems, 2023.
7679
[2] Tomita, Tyler M., et al. "Sparse Projection Oblique Randomer Forests.",/
7780
Journal of Machine Learning Research, 21(104), 1-39, 2020.
@@ -90,7 +93,7 @@ class NeuroExplainableOptimalFIT:
9093
... alpha = 0.05,
9194
... verbose = 1)
9295
>>> p_values = neofit.feat_imp_test(X, y)
93-
>>> print(p_values)
96+
>>> p_values, important_features, X_important = neofit.get_significant_features(X, y)
9497
"""
9598

9699
def __init__(

0 commit comments

Comments
 (0)