boxmot.engine.tuning.analysis_data
Read saved tuning evidence and resolve the parameters actually searched.
ParameterSamples
dataclass
ParameterSamples(
name: str,
kind: str,
samples: DataFrame,
bounds: tuple[float, float] | None = None,
scale: str = "linear",
options: tuple[Any, ...] = (),
branch_bounds: dict[str, tuple[float, float]] = dict(),
branch_options: dict[str, tuple[Any, ...]] = dict(),
)
Finite observations of one active search dimension, retaining trial indices.
branch_bounds
class-attribute
instance-attribute
branch_options
class-attribute
instance-attribute
TrialAnalysis
dataclass
TrialAnalysis(
trials: DataFrame,
parameters: dict[str, ParameterSamples],
baseline_index: int,
baseline_label: str,
best_index: int,
near_best: Series,
sequence_hota: DataFrame,
notes: list[str],
chronological: bool,
schema: dict = dict(),
)
Comparable completed trials and the metadata supporting their diagnostics.
near_best_mask
Select the inclusive HOTA band with tolerance for decimal roundoff.
analyze_parameters
analyze_parameters(
frame: DataFrame,
schema: dict,
*,
notes: list[str] | None = None,
) -> dict[str, ParameterSamples]
Collect active searchable values; omit fixed metadata and unusable pairs.
Observed constants remain available to summaries, while plot callers can omit them. Only schema-declared Boolean fields accept Boolean coercion.
load_tune_analysis
load_tune_analysis(tune_dir: Path) -> TrialAnalysis | None
Combine saved CSV, search schema and optional final-trial JSON metadata.