mkt.databases.plot_config.MetricsBoxplotConfig
- class mkt.databases.plot_config.MetricsBoxplotConfig(figsize: list[float] = <factory>, box_widths: float = 0.6, box_alpha: float = 0.7, median_color: str = 'black', median_linewidth: int = 2, whisker_color: str = 'black', whisker_linewidth: float = 1.5, cap_color: str = 'black', cap_linewidth: float = 1.5, jitter_std: float = 0.04, jitter_alpha: float = 0.6, jitter_size: int = 50, jitter_color: str = 'black', xtick_fontsize: int = 14, ylabel_fontsize: int = 20, ylabel_text: str = 'MSE (Z-Score)', title_fontsize: int = 22, title_fontweight: str = 'bold', ytick_fontsize: int = 18, grid_alpha: float = 0.3, bracket_start_pct: float = 0.08, bracket_spacing_pct: float = 0.15, bracket_height_pct: float = 0.02, bracket_linewidth: float = 1.5, pvalue_fontsize: int = 14, pvalue_fontweight: str = 'bold', title_color_davis: str = 'black', title_color_pkis2: str = 'black', filename: str = 'metrics_boxplot')[source]
Bases:
objectAesthetics for the metrics boxplot.
- __init__(figsize: list[float] = <factory>, box_widths: float = 0.6, box_alpha: float = 0.7, median_color: str = 'black', median_linewidth: int = 2, whisker_color: str = 'black', whisker_linewidth: float = 1.5, cap_color: str = 'black', cap_linewidth: float = 1.5, jitter_std: float = 0.04, jitter_alpha: float = 0.6, jitter_size: int = 50, jitter_color: str = 'black', xtick_fontsize: int = 14, ylabel_fontsize: int = 20, ylabel_text: str = 'MSE (Z-Score)', title_fontsize: int = 22, title_fontweight: str = 'bold', ytick_fontsize: int = 18, grid_alpha: float = 0.3, bracket_start_pct: float = 0.08, bracket_spacing_pct: float = 0.15, bracket_height_pct: float = 0.02, bracket_linewidth: float = 1.5, pvalue_fontsize: int = 14, pvalue_fontweight: str = 'bold', title_color_davis: str = 'black', title_color_pkis2: str = 'black', filename: str = 'metrics_boxplot') None
Methods
__eq__(other)Return self==value.
__init__([figsize, box_widths, box_alpha, ...])Attributes
__dataclass_fields____dataclass_params____match_args__- __init__(figsize: list[float] = <factory>, box_widths: float = 0.6, box_alpha: float = 0.7, median_color: str = 'black', median_linewidth: int = 2, whisker_color: str = 'black', whisker_linewidth: float = 1.5, cap_color: str = 'black', cap_linewidth: float = 1.5, jitter_std: float = 0.04, jitter_alpha: float = 0.6, jitter_size: int = 50, jitter_color: str = 'black', xtick_fontsize: int = 14, ylabel_fontsize: int = 20, ylabel_text: str = 'MSE (Z-Score)', title_fontsize: int = 22, title_fontweight: str = 'bold', ytick_fontsize: int = 18, grid_alpha: float = 0.3, bracket_start_pct: float = 0.08, bracket_spacing_pct: float = 0.15, bracket_height_pct: float = 0.02, bracket_linewidth: float = 1.5, pvalue_fontsize: int = 14, pvalue_fontweight: str = 'bold', title_color_davis: str = 'black', title_color_pkis2: str = 'black', filename: str = 'metrics_boxplot') None
- box_alpha: float = 0.7
- box_widths: float = 0.6
- bracket_height_pct: float = 0.02
- bracket_linewidth: float = 1.5
- bracket_spacing_pct: float = 0.15
- bracket_start_pct: float = 0.08
- cap_color: str = 'black'
- cap_linewidth: float = 1.5
- figsize: list[float]
- filename: str = 'metrics_boxplot'
- grid_alpha: float = 0.3
- jitter_alpha: float = 0.6
- jitter_color: str = 'black'
- jitter_size: int = 50
- jitter_std: float = 0.04
- median_color: str = 'black'
- median_linewidth: int = 2
- pvalue_fontsize: int = 14
- pvalue_fontweight: str = 'bold'
- title_color_davis: str = 'black'
- title_color_pkis2: str = 'black'
- title_fontsize: int = 22
- title_fontweight: str = 'bold'
- whisker_color: str = 'black'
- whisker_linewidth: float = 1.5
- xtick_fontsize: int = 14
- ylabel_fontsize: int = 20
- ylabel_text: str = 'MSE (Z-Score)'
- ytick_fontsize: int = 18