save_model {BKT} | R Documentation |
Save
Description
Save a BKT model to a file.
This function saves a trained BKT model to a specified file location. The model is stored
as an RDS file, which can be loaded back into R using the load_model()
function.
Usage
save_model(model, loc)
Arguments
model |
A trained BKT model object to be saved. |
loc |
Character. The file path where the model will be saved, typically with an |
Value
None. The function saves the model to the specified location.
Examples
model <- bkt(seed = 42)
fit_model <- fit(model, data_path = "ct.csv")
save_model(fit_model, "bkt_model.rds")
[Package BKT version 0.1.0 Index]