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 HLL configs. #67

Closed huangxichen1 closed 4 years ago

huangxichen1 commented 4 years ago

Run the following in the command line to generate the results:


K_OUT_DIR="some_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="complete_test_with_selected_parameters" \
--sketch_estimator_configs="hyper_log_log_plus-16384-hll_cardinality-no_local_dp-global_dp_1.0986" \
--sketch_estimator_configs="hyper_log_log_plus-16384-hll_cardinality-no_local_dp-no_global_dp" \
--evaluation_run_name="results" \
--num_runs=100 \
--error_margin="0.05,0.05,0.1,0.1" \
--proportion_of_runs="0.95,0.9,0.95,0.9" \
--run_evaluation=True \
--run_analysis=True \
--generate_html_report=True