When considering criterion='poisson' for a regression tree, which target domain is required?
Classic MLLevel: IntermediateCount regression trees
When considering criterion='poisson' for a regression tree, which target domain is required?
Hints
- Poisson modeling is not a generic loss for every target.
- Negative values violate its domain.
Answer
Targets must be nonnegative, with the additional validity conditions of the estimator checked. It models count-like or frequency targets and predicts leaf means, not arbitrary signed quantities.
Source and licence: scikit-learn 1.7.2 — tree · BSD-3-Clause · answer: Quantoros editorial