The Evaluator commands are set for both two parameters i.e agent_name and similarity but some agents run without similarity type also. This needed an easy fix in the evaluator.py file.
Changes
The default similarity type is changed from "CosineSim" to " ".
A simple if-else statement is written for the new condition in both the Agent types.
Testing and verifying
You can test and verify by using the commands:
python evaluator.py -a tfidf For tfidfpython evaluator.py -a Ngram for Ngram
Description
The Evaluator commands are set for both two parameters i.e agent_name and similarity but some agents run without similarity type also. This needed an easy fix in the evaluator.py file.
Changes
Testing and verifying
You can test and verify by using the commands:
python evaluator.py -a tfidf
For tfidfpython evaluator.py -a Ngram
for NgramIssue Ref
61