compileml.select

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#

NameTypeDefaultKind
artifactdict | Nonerequiredpositional
selection_curvelist[dict]requiredpositional
selecteddictrequiredpositional
partitionscompileml.select.Partitionsrequiredpositional
floor_gatedictrequiredpositional
noteslist[str]requiredpositional
report_evaluationsint0positional
_statedict<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.