SelectionResult
class SelectionResult(artifact: dict | None, selection_curve: list[dict], selected: dict, partitions: compileml.select.Partitions, floor_gate: dict, notes: list[str], report_evaluations: int = 0, _state: dict = <factory>) -> None
from compileml.select import SelectionResult
What compile_selected returns: the artifact, the curve, and one report.
Fields#
| Name | Type | Default | Kind |
|---|---|---|---|
| artifact | dict | None | required | positional |
| selection_curve | list[dict] | required | positional |
| selected | dict | required | positional |
| partitions | compileml.select.Partitions | required | positional |
| floor_gate | dict | required | positional |
| notes | list[str] | required | positional |
| report_evaluations | int | 0 | positional |
| _state | dict | <factory> | positional |
Returns#
None
Methods#
- report()
Raises#
- RuntimeError
Read from the function body and the private helpers it calls, not inferred. A function that raises nothing has no section here.