Predicts the AMR phenotype in the test data set based on the best fit ML model.
predictML(fit, test_data)Best model fit, such as the output of fitBestModel()
The part of the pangenome data designated for ML model
testing. This can be the output of
rsample::testing(splitMLInputTibble(ml_input_tibble)).
Test data (tibble) with an added column for predicted phenotype labels