Skip to main content

Module model_job

Module model_job 

Expand description

Deterministic model jobs shared by the sliced canvas and browser worker.

Structs§

ModelKey
The run generation, completed trial count, and map a model describes.
ModelRaster
A completed raster, before the canvas shades and uploads it.

Enums§

ModelReply
A service result, tagged so stale models and pointer readings are ignored.
ModelRequest
Work accepted by an optional model service.

Traits§

ModelService
Optional off-thread executor. Errors permanently select the inline path. Implementations wake the canvas when a reply or failure arrives.

Functions§

fit
Fits training pairs and samples every row, retaining the model for hover. Returns None when the pairs cannot train a model or the size is zero.
hover
The exact posterior mean and standard deviation for a hover query.
size
The map resolution used by both execution paths.