Skip to content

betting_combat.rounds.models.second_stage

The second stage (2026-11-14): a correction of model 1’s chances for the coming round from what model 1 has forecast so far in the fight and how the fight has gone against it (features.stage2).

rows one per fight per break from the break after round 1 (features.stage2) start model 1’s five chances for this break (p_a_ko .. p_none): with no trees the second stage IS model 1 answer the same five outcomes of the coming round (A by KO, A by submission, B by KO, B by submission, no finish) engine LightGBM multiclass on the start’s log-probabilities, model 1’s own settings (primary.TREE_PRIMARY, N_ROUND trees) - nothing tuned

Its training rows carry model 1’s OUT-OF-SAMPLE chances (the purged pass); live, the card run’s own earlier decisions of the fight. Research: data/ufc/cito/assess/final_v1/s06_second_stage.py.

Classes

SecondStageModel

fit

fit(rows: pd.DataFrame, y: np.ndarray) -> SecondStageModel

predict

predict(rows: pd.DataFrame) -> np.ndarray

The corrected five chances (rows x 5).

start

start(rows: pd.DataFrame) -> np.ndarray

Model 1’s chances for the rows’ break, as log-probabilities.