.. _measurement-op-linearlagmodel: LinearLagModel ============== Linear-with-softplus lag-phase growth fitter (no saturation). Parameters and usage: :py:class:`LinearLagModel `. - **One row per:** fitted group (the ``groupby`` columns) - **Written to:** the frame ``analyze()`` returns; when it is the pipeline's model, a CLI run writes ``deliverables/LinearLagModel.csv`` and ``.parquet`` - **Columns:** 11, each a pattern (see Placeholders) .. rubric:: Placeholders Some column names depend on how you run the operation. They are shown as patterns, with these placeholders: ```` The fitted column without its metric-family prefix: fitting ``Size_Area`` writes ``LinearLagModel_Area_v``. .. _measurement-info-linear-lag-model: :doc:`LINEAR_LAG_MODEL ` ------------------------------------------------------------------------------- .. list-table:: Metric family: **LinearLagModel** :header-rows: 1 :class: phenotypic-measurement-table * - Column - Description - Type - Biology * - ``LinearLagModel__v`` - The post-lag phase growth rate. - :bdg-ref-success:`Tier 1 · Direct phenotype ` - The post-lag phase growth rate using the target metric (usually radius) * - ``LinearLagModel__s0`` - The initial value of the target metric - :bdg-ref-success:`Tier 1 · Direct phenotype ` - The initial size * - ``LinearLagModel__lambda`` - The duration of the lag phase - :bdg-ref-success:`Tier 1 · Direct phenotype ` - * - ``LinearLagModel__alpha`` - lag phase transition sharpness - :bdg-ref-primary:`Tier 2 · Descriptive trait ` - :doc:`MODEL_METRICS ` ------------------------------------------------------------------------- Every growth model writes these columns; see :ref:`measurement-shared-columns`. .. list-table:: Metric family: **ModelMetrics** :header-rows: 1 :class: phenotypic-measurement-table * - Column - Description - Type * - ``ModelMetrics__MAE`` - The mean absolute error - :bdg-ref-secondary:`Quality ` * - ``ModelMetrics__MSE`` - The mean squared error - :bdg-ref-secondary:`Quality ` * - ``ModelMetrics__RMSE`` - The root mean squared error - :bdg-ref-secondary:`Quality ` * - ``ModelMetrics__R2`` - The coefficient of determination - :bdg-ref-secondary:`Quality ` * - ``ModelMetrics__NumSamples`` - The number of samples used for model fitting - :bdg-ref-secondary:`Quality ` * - ``ModelMetrics__OptimizerLoss`` - The loss of model fitting - :bdg-ref-secondary:`Quality ` * - ``ModelMetrics__OptimizerStatus`` - The output of the optimizer status - :bdg-ref-secondary:`Quality `