Add `num_samples` to transformed models (if applicable)
Open
enhancement
topic:ml
- Dominant language
- Python
- Stars
- 693
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
Elastic ML utilizes Shapley Values to determine feature importance.
For boosted regression trees, a simple form of this is to know the number of samples from the training data that "landed" in each leaf.
Certain model formats keep track of this and it can be passed to the transformed model so that feature importance can be calculated at runtime for the model.
Contributor guide
Assessment
This issue has not been assessed yet.