betting_combat.features.lines
lines — the official round lines (UFCStats’s, ufc.rounds: one row per fighter per round) as
the feature tables read them, the holes filled.
UFCStats lost the control time of 854 fighter-rounds (2017-19 and the 1990s; every other line is
whole). Each is filled from the round’s other lines both ways and its length (fill_control:
gradient boosting on the rounds dated before its year, the years without MIN_ROWS rounds
before them on the first fit that has them; checked 11-12 on whole years held out: R² 0.77, 21 s
a round off, which fighter held more right 82%), the two fighters’ together never more than the
round; ctrl_filled marks them.
Functions
filled
filled(base: Base) -> pd.DataFramebase.rounds with every missing control time filled (ctrl_filled 1 on those).