FitResult¶ class flexparameterize.regression.base.FitResult(coefficients: dict[str, float], metrics: dict[str, float], n_samples: int, data_window: tuple)¶ The common shape every regressor’s fit reduces to, for provenance. coefficients¶ Coefficient name -> value ("intercept" when present). Type: dict[str, float] metrics¶ At minimum {"r2": ..., "rmse": ...}. Type: dict[str, float] n_samples¶ Number of rows the fit used. Type: int data_window¶ (first, last) index value of the fitted rows. Type: tuple