Dsxir. Optimizer. SIMBA. Config
(dsxir v0.5.0)
Copy Markdown
Fills remaining defaults into an expanded SIMBA knob map and validates the
trainset against the resolved bsize.
Summary
Functions
Fills remaining defaults into config and enforces trainset invariants.
Functions
@spec validate(map(), [Dsxir.Example.t()]) :: {:ok, map()} | {:error, Dsxir.Errors.Invalid.Trainset.t()}
Fills remaining defaults into config and enforces trainset invariants.
Returns {:ok, resolved_config} on success or
{:error, %Errors.Invalid.Trainset{}} when the trainset is empty or
shorter than config.bsize.