(
self,
builder: ScoreMatrixBuilder,
*,
n_bootstrap: int = 1000,
game: str = "ALL",
regularization: float = 0.01,
topks: list[int] | None = None,
bootstrap_type: Literal["nonparametric", "parametric"] = "nonparametric",
output_dir: Path | None = None,
)
| 716 | ax.grid(True, alpha=0.3) |
| 717 | |
| 718 | # Hide unused subplots |
| 719 | for idx in range(n_players, len(axes)): |
| 720 | axes[idx].set_visible(False) |
| 721 | |
| 722 | plt.tight_layout() |
| 723 | safe_game_name = game_name.replace("/", "_").replace(" ", "_") |
| 724 | self._save_plot(output_dir, f"{safe_game_name}_validation") |
| 725 | plt.close() |
| 726 | |
| 727 | |
| 728 | class BootStrapRankStability: |
| 729 | def __init__( |
| 730 | self, |
| 731 | builder: ScoreMatrixBuilder, |
| 732 | *, |
| 733 | n_bootstrap: int = 1000, |
| 734 | game: str = "ALL", |
| 735 | regularization: float = 0.01, |
| 736 | topks: list[int] | None = None, |
| 737 | bootstrap_type: Literal["nonparametric", "parametric"] = "nonparametric", |
| 738 | output_dir: Path | None = None, |
nothing calls this directly
no outgoing calls
no test coverage detected