Load Stepcount Model
sc_load_model(
model_type = c("ssl", "rf"),
model_path = NULL,
check_md5 = TRUE,
force_download = FALSE,
as_python = TRUE
)sc_model_filename(model_type = c("ssl", "rf"))
sc_download_model(
model_path,
model_type = c("ssl", "rf"),
check_md5 = TRUE,
...
)
A model from Python. sc_download_model returns a model file path.
type of the model: either random forest (rf) or Self-Supervised Learning model (ssl)
the file path to the model. If on disk, this can be
re-used and not re-downloaded. If NULL, will download to the
temporary directory
Do a MD5 checksum on the file
force a download of the model, even if the file exists
Keep model object as a python object
for sc_download_model, additional arguments to pass to
curl::curl_download()