vak.cli.learncurve.learning_curve

vak.cli.learncurve.learning_curve(toml_path)[source]

generate learning curve, by training models on training sets across a range of sizes and then measure accuracy of those models on a test set. Function called by command-line interface.

Trains models, saves results in new directory within root_results_dir specified in config.toml file, and adds path to that new directory to config.toml file.

Parameters:

toml_path (str, Path) – path to a configuration file in TOML format.