create_gcae_evaluate_args: Create the CLI arguments to evaluate the 'GCAE' training

View source: R/create_gcae_evaluate_args.R

create_gcae_evaluate_argsR Documentation

Create the CLI arguments to evaluate the GCAE training

Description

Create the CLI arguments to evaluate the GCAE training

Usage

create_gcae_evaluate_args(gcae_setup, metrics, epoch)

Arguments

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.

metrics

the metrics, as checked by check_metrics. Use "" to indicate not to use a clusting metric

epoch

the epoch, as checked by check_epoch

Value

the CLI arguments

Author(s)

Richèl J.C. Bilderbeek

Examples

gcae_setup <- create_test_gcae_setup()
args <- create_gcae_evaluate_args(
  gcae_setup = gcae_setup,
  metrics = "f1_score_3",
  epoch = 123
)
# '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)

richelbilderbeek/gcaer documentation built on March 25, 2024, 3:08 p.m.