Creates a trans_models_t table for storing transition model metadata and serialized model objects. This function creates an empty table with proper structure for storing fitted models.
Usage
as_trans_models_t(x)
# S3 method for class 'trans_models_t'
print(x, nrow = 10, ...)Arguments
- x
A list or data.frame coercible to a data.table
- nrow
- ...
passed to data.table::print.data.table
Value
A data.table of class "trans_models_t" with columns:
id_trans: Foreign key to trans_meta_tmodel_family: Model family (e.g., "rf", "glm", "bayesian")model_params: Map of model (hyper) parametersgoodness_of_fit: Map of various measures of fit (e.g., ROC AUC, RMSE)fit_call: Character string of the original fit function call for reproducibilitymodel_obj_part: BLOB of serialized model object for validationmodel_obj_full: BLOB of serialized model object for extrapolation