We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39eec48 commit f4475ceCopy full SHA for f4475ce
gp_learner.py
@@ -1718,9 +1718,9 @@ def main(
1718
gsa = get_semantic_associations
1719
assocs_train = gsa(train_filename) if train_filename else []
1720
assocs_test = gsa(test_filename) if train_filename else []
1721
- if predict == 'train':
+ if predict == 'train_set':
1722
assert assocs_train, 'trying to train but train file empty'
1723
- if predict == 'test':
+ if predict == 'test_set':
1724
assert assocs_test, 'trying to test but test file empty'
1725
logger.info(
1726
'training on %d association pairs and testing on %d',
0 commit comments