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

Add meta voc configurations #99

Closed huangxichen1 closed 3 years ago

huangxichen1 commented 4 years ago

Example smoke test run through:

K_NUM_RUNS=10
K_UNIVERSE_SIZE=200000
K_OUT_DIR="your_output_directory"

python3 src/evaluations/run_evaluation.py \
--evaluation_out_dir="$K_OUT_DIR" \
--analysis_out_dir="$K_OUT_DIR" \
--report_out_dir="$K_OUT_DIR" \
--evaluation_config="smoke_test" \
--sketch_estimator_configs="exp_bloom_filter-100000_10-meta_voc_1024-no_local_dp-global_dp_1.0986" \
--sketch_estimator_configs="exp_bloom_filter-100000_10-meta_voc_1024-no_local_dp-no_global_dp" \
--evaluation_run_name="results" \
--num_runs=$K_NUM_RUNS \
--universe_size=$K_UNIVERSE_SIZE \
--error_margin="0.05,0.1" \
--proportion_of_runs="0.95,0.95" \
--run_evaluation=True \
--run_analysis=True \
--generate_html_report=True