Skip to main content

models.ModelRecord

A fitted model as stored: specification, parameters, covariance and data fingerprint.

Usage

Source

models.ModelRecord(**data)

The format (kind: dazflow.model, format: 1) is fixed in design §5.3. params keeps the form’s order; cov_params is the covariance matrix in that order, row by row. data is the Dataset fingerprint of the target and drivers fitted on (design §5.1.1), checked by refit.

Methods

Name Description
difference() The largest absolute difference between these parameters and fitted’s.
from_dict() Rebuild a record from to_dict() output.
to_dict() A JSON-safe dictionary; non-finite floats are the strings "NaN", "Infinity".

difference()

The largest absolute difference between these parameters and fitted’s.

Usage

Source

difference(fitted)

from_dict()

Rebuild a record from to_dict() output.

Usage

Source

from_dict(data)

to_dict()

A JSON-safe dictionary; non-finite floats are the strings "NaN", "Infinity".

Usage

Source

to_dict()