View source: R/create_gcae_train_args.R
create_gcae_train_args | R Documentation |
Create the CLI arguments to train with GCAE
create_gcae_train_args(gcae_setup, epochs, save_interval)
gcae_setup |
GCAE model setup, as created by create_gcae_setup, read from file by read_gcae_setup_file, checked by check_gcae_setup, and saved to file by save_gcae_setup. |
epochs |
number of epochs, as checked by check_epochs |
save_interval |
epoch intervals at which to save state of model, and at which to calculate the valid loss |
the CLI arguments
Richèl J.C. Bilderbeek
gcae_setup <- create_test_gcae_setup()
args <- create_gcae_train_args(
gcae_setup = gcae_setup,
epochs = 1,
save_interval = 1
)
# 'python3' is the path to Python3
# 'run_gcae.py' is the path to the GenoCAE Python script
full_args <- c("python3", "run_gcae.py", args)
cat(full_args)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.