rasbt/mlxtend
create_counterfactual enhancements (minimization method and fixed features)
Offen
#1.029 geöffnet am 18.04.2023
Enhancementeasyhelp wanted
Repository-Metriken
- Stars
- (5.164 Sterne)
- PR-Merge-Metriken
- (Durchschn. Merge 27T 1h) (16 gemergte PRs in 30 T)
Beschreibung
Discussed in https://github.com/rasbt/mlxtend/discussions/1028
Originally posted by farbodr April 17, 2023 I have a couple of questions about create_counterfactual?
- On a small table with the shape of (461, 75) it took about 22 min to return one row. Is there any way to speed this up?
- Is there any way to limit the features it uses? In other words, can I freeze some features and generate counterfactuals only for some of the features? For instance, in a healthcare use case, we know certain features can not be changed, like a health condition, but there are other features that can be changed that can impact the prediction.
Thanks, FR