leaf_majority_vote: Majority-vote leaf strategy.

View source: R/leaf-strategy.R

leaf_majority_voteR Documentation

Majority-vote leaf strategy.

Description

Creates a leaf strategy that assigns the majority group label as the leaf prediction. When groups are tied, the smallest label wins. This is the default leaf strategy for classification.

Usage

leaf_majority_vote()

Value

A leaf_strategy object.

See Also

pptr, pprf

Examples

leaf_majority_vote()


ppforest2 documentation built on July 21, 2026, 9:07 a.m.