Ekeany / Boruta-Shap

A Tree based feature selection tool which combines both the Boruta feature selection algorithm with shapley values.
MIT License
559 stars 86 forks source link

[BUG]scipy.stats.binom_test() is removed from SciPy 1.12.0 #130

Open tegku opened 6 months ago

tegku commented 6 months ago

Error: When running: from BorutaShap import BorutaShap shows error: ImportError: cannot import name 'binom_test' from 'scipy.stats'

Steps to reproduce the behavior:

  1. run 'from BorutaShap import BorutaShap'
  2. See error

Reason: The function scipy.stats.binom_test() was removed from SciPy 1.12.0. There is an alternative, scipy.stats.binomtest().