You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Get mean value from the shadows (max, like in Boruta, median to mitigate variance)mean_shadow= (
shadow_vars.select_dtypes(include=[np.number])
.max(skipna=True)
.mean(skipna=True)
/cutoff
)
The bug is about max, which should have axis=1. Without it, It takes the maximum shap of all features, for each iteration. But I would expect the contrary, which is the maximum shap of all iteration, for each feature.
I may be wrong here, but I had to ask. Thank you!
Side note: probably that comment above the function is outdated :)
The text was updated successfully, but these errors were encountered:
Hello, I think I found a possible bug in src/arfs/feature_selection/allrelevant.py, in function
_reduce_vars_sklearn
:The bug is about
max
, which should haveaxis=1
. Without it, It takes the maximum shap of all features, for each iteration. But I would expect the contrary, which is the maximum shap of all iteration, for each feature.I may be wrong here, but I had to ask. Thank you!
Side note: probably that comment above the function is outdated :)
The text was updated successfully, but these errors were encountered: