quantlab.model.base.record_training_reads#

quantlab.model.base.record_training_reads(model)[source]#

Run model._collect() inside a DataRecorder and return its records.

Keyed by component path within model. Shared by BaseModel.collect and the ensembles’ collect, so a model and an ensemble record alike.

Examples

>>> sorted(record_training_reads(model))
['factors.0.dataset', 'labels.0.factor.dataset']