[classification] correcting cost functions in SGD and FTRL for use in parameter sweeps

This commit is contained in:
Al
2017-04-05 14:08:51 -04:00
parent 6219cc6378
commit caebf4e2c9
7 changed files with 169 additions and 87 deletions

View File

@@ -79,7 +79,7 @@ int main(int argc, char **argv) {
filename = argv[1];
}
if (!language_classifier_module_setup(argv[1]) || !address_dictionary_module_setup(NULL)) {
if (!language_classifier_module_setup(dir) || !address_dictionary_module_setup(NULL) || !transliteration_module_setup(NULL)) {
log_error("Error setting up classifier\n");
}