cognitive-catalyst / WA-Testing-Tool

Scripts that run against Watson Assistant for K fold validation on training set, testing on blind test, and draw precision curves for comparison.
Apache License 2.0
78 stars 60 forks source link

Improve error message on config file parse error #170

Open andrewrfreed opened 4 years ago

andrewrfreed commented 4 years ago

User got error below when selecting kfold mode. Ultimately the error was caused by an extra space within the fold_num parameter.

"Unknown mode 'kfold'"

Config file parsing error should give a more usable error message.