check_algorithm: Check classification algorithm name

Description Usage Arguments Details Value

Description

check_algorithm checks if a valid algorithm value has been provided.

Usage

1
check_algorithm(algorithm)

Arguments

algorithm

Character string naming the algorithm to use to classify the variants.

Details

Valid algorithm values are "RF" and "XGBoost". Valid value check is case-insensitive. For instance, "RF", "rf", "Rf" and "rF" are all valid algorithm argument values.

If an invalid algorithm value is provided, an error-message is displayed and the process is stopped.

Value

None


mmaitenat/ideafix documentation built on Sept. 18, 2021, 7:55 a.m.