lamindb.core.HasParams

class lamindb.core.HasParams

Bases: object

Base class linking params.

Attributes

params(host): ParamManager = <class 'lnschema_core.models.ParamManager'>

Param manager.

What .features is to dataset-like artifacts, .params is to model-like artifacts.

Annotate with params & values:

artifact.params.add_values({
    "hidden_size": 32,
    "bottleneck_size": 16,
    "batch_size": 32
})

Methods