world-federation-of-advertisers / cardinality_estimation_evaluation_framework

Evaluation framework and methods for estimating cardinalities of groups of sets
Apache License 2.0
22 stars 9 forks source link

Packaged run_evaluation.py as the command line script 'wfa-run-evaluation' #40

Closed pfhgetty closed 4 years ago

pfhgetty commented 4 years ago

This pull request enables the functionality of run_evaluation.py to be run from anywhere as: wfa-run-evaluation <flags> as long as the cardinality_estimation_evaluation_framework is installed.

This allows end users to install this repository as a pip package and run the evaluations without having to access src/evaluations/run_evaluation.py or create their own script which imports wfa_cardinality_estimation_evaluation.evaluations.run_evaluation.

Modified docstring in run_evaluation.py to reflect this change. Also added --num_runs=1 to the example command to run the evaluations.