validate_cutoff.Rd
Shared helper for converting top_k/top_p-style cutoffs to an integer feature count.
top_k
top_p
validate_cutoff(type, value, ncol)
Cutoff type (top_k, topk, top_p, topp).
topk
topp
Cutoff value.
Number of features available.
Integer number of features to retain.