Second project for Knowledge Analysis & Management (2019)
For the general documentation run:
python3 multi_search.py
For details about each command and instruction on "how to run", run:
python3 multi_search.py <command> -h/--help
All the files generated by the software can be found in folder res
(in project root).
By default the extraction of the data make use of project tensorflow (e.g in the lib
folder) although since this folder is not uploaded to github you should provide your own path. Alternatively you can use this method without
arguments by first creating the lib
folder (in the project root) and move there the project to analyse.
The following are some example of commands:
- Data Extraction
$ python3 multi_search.py extract_data --path <path>/tensorflow
(The methods 1,2 search for fileres/data.csv
so you should run this command before)
- Train and run query
$ python3 multi_search.py search_data --query "Some query"
- Evaluation and Visualization
$ python3 multi_search.py prec_recall --ground_truth <path>/gt.txt