rasbt/mlxtend

create_counterfactual enhancements (minimization method and fixed features)

Open

#1,029 opened on 2023年4月18日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Python (839 forks)batch import
Enhancementeasyhelp wanted

Repository metrics

Stars
 (4,676 stars)
PR merge metrics
 (平均マージ 27d 1h) (30d で 16 merged PRs)

説明

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?

  1. 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?
  2. 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

コントリビューターガイド