Skip to main content

Module outer_subsample

Module outer_subsample 

Source
Expand description

Outer-loop row subsampling primitive shared across the solver and the family-specific outer-score evaluators.

OuterScoreSubsample and its per-row WeightedOuterRow are the Horvitz–Thompson row subsample consumed on outer-loop hot paths. They live in the solver layer (below families) so that both the solver’s row-measure machinery and the family outer-score builders can depend on them downward, without solver reaching up into families. The stratified builders that construct these (build_outer_score_subsample, auto_outer_score_subsample) remain in families::marginal_slope_shared, since they depend on family-specific fit options; they import this type downward.

Structs§

OuterScoreSubsample
Stratified row index subsample shared across outer-loop evaluations.
WeightedOuterRow

Enums§

RowSet
Row selection for an outer-loop evaluation: either the full data (All) or a Horvitz–Thompson WeightedOuterRow subsample.

Constants§

ARROW_ROW_CHUNK
Deterministic row-block tiling constant for the parallel reduction paths.

Functions§

arrow_row_chunk_count
Number of ARROW_ROW_CHUNK-sized tiles covering n_rows.