Relearn Trajectory Model
relearn_traj_model.Rd
This function relearns a trajectory model using the glmnet package, without re-inferring the motif models.
Usage
relearn_traj_model(
traj_model,
new_energies = FALSE,
new_logist = FALSE,
lambda = NULL,
use_additional_features = TRUE,
use_motifs = TRUE,
verbose = FALSE
)
Arguments
- traj_model
The trajectory model object.
- new_energies
If TRUE - recreate the energies. Default is FALSE.
- new_logist
If TRUE - recreate the logistic features. Default is FALSE. If
new_energies
is TRUE, this is automatically set to TRUE.- lambda
The lambda value to use for relearning. If NULL, the lambda value from the trajectory model is used.
- use_additional_features
A logical value indicating whether to use additional features. Default is TRUE.
- use_motifs
A logical value indicating whether to use motif models. Default is TRUE.
- verbose
Logical indicating whether to display additional information.