RunSplitLeakageScenario
Data scenarios · Implementation: mlsysim/engine/scenario_definitions/data.py.
Construct this scenario with keyword inputs. The fields below show the types and defaults declared by this class.
attempts runs per task, each assigned to training with probability train_fraction.
Notes
Equation: Composition of mlsysim.solvers.RunSplitLeakageModel.solve.
Assumptions: Inputs are routed to RunSplitLeakageModel.solve; their documented regimes and units apply to this configuration.
Excludes: Additional mechanisms beyond the linked solver contracts; the scenario does not collect measurements.
References
Derivation: This scenario binds named inputs to RunSplitLeakageModel. The linked solver contracts own equations, sources, and result-unit definitions.
Examples
Evaluate the named configuration and display a modeled result.
>>> from mlsysim import Scenarios
>>> case = Scenarios.EightAttemptRunSplit
>>> value = case.result.straddle
>>> print(f"{value:.3g}")
0.832Attributes
| Name | Description |
|---|---|
| attempts | |
| result | Evaluate the stated run split leakage case through RunSplitLeakageModel.solve; returns its typed result and quantity units. |
| tasks | |
| train_fraction |
attempts
Type: int.
Declared default: required.
train_fraction
Type: float.
Declared default: required.
tasks
Type: Optional[int].
Declared default: None.
result
engine.scenario_types.RunSplitLeakageScenario.result
Evaluate the stated run split leakage case through RunSplitLeakageModel.solve; returns its typed result and quantity units.
Calculation: mlsysim.solvers.RunSplitLeakageModel.solve.