Skip to content
Quantoros

With highly unequal sample weights, does minsamplesleaf enforce a minimum total weight per leaf?

Classic MLLevel: AdvancedCounts versus sample weight

With highly unequal sample weights, does min_samples_leaf enforce a minimum total weight per leaf?

Hints
  • A row can carry very little weight.
  • Count and mass are distinct quantities.

Answer

This answer is part of mentoring

Advanced questions come with a full breakdown and a mock interview with a working quant researcher. The first call is free.

Source and licence: scikit-learn 1.7.2 — tree · BSD-3-Clause · answer: Quantoros editorial

Related questions