|
PineForge HPO 1.11.0
Native hyperparameter optimization for PineForge strategies
|
Public Member Functions | |
| None | __post_init__ (self) |
Static Public Attributes | |
| int | S |
| tuple | trial_ids [Any, ...] |
| tuple | counts [int, ...] |
| tuple | sums [tuple[float, ...], ...] |
| tuple | m2 [tuple[float, ...], ...] |
| str | return_blocks_json |
| str | input_sha256 = field(init=False) |
A validated N x S table of block moments; rows ascend by trial id. ``counts`` is common to every row and equals ``n_b`` of the declared object. ``sums[i][b]`` and ``m2[i][b]`` belong to trial ``trial_ids[i]`` and block ``b``. ``return_blocks_json`` is the text of the declared object that every part declared. The table checks itself whenever it is built, whoever builds it: at least 2 trials, unique ascending ids of one type, arrays of the right lengths, counts equal to ``n_b``, finite moments, and the declared object itself (including the half-size rule). ``input_sha256`` is not an argument: it is computed from the content, so it cannot disagree with it. A refusal is a ``PboError``.
| None pineforge_hpo.pbo.MomentTable.__post_init__ | ( | self | ) |
Definition at line 240 of file pbo.py.
References pineforge::hpo::SelectedEvaluationResult.counts, pineforge_hpo.pbo.MomentTable.counts, pineforge::hpo::ReturnBlockMoments.m2, pineforge_hpo.pbo.MomentTable.m2, pineforge_hpo.pbo.MomentTable.return_blocks_json, pineforge_hpo.pbo.MomentTable.S, pineforge_hpo.pbo.MomentTable.sums, and pineforge_hpo.pbo.MomentTable.trial_ids.
|
static |
Definition at line 234 of file pbo.py.
Referenced by pineforge_hpo.pbo.MomentTable.__post_init__().
|
static |
|
static |
Definition at line 236 of file pbo.py.
Referenced by pineforge_hpo.pbo.MomentTable.__post_init__().
|
static |
Definition at line 237 of file pbo.py.
Referenced by pineforge_hpo.pbo.MomentTable.__post_init__().
|
static |
Definition at line 232 of file pbo.py.
Referenced by pineforge_hpo.pbo.MomentTable.__post_init__().
|
static |
Definition at line 235 of file pbo.py.
Referenced by pineforge_hpo.pbo.MomentTable.__post_init__().
|
static |
Definition at line 233 of file pbo.py.
Referenced by pineforge_hpo.pbo.MomentTable.__post_init__().