# Experiments with quadratic tasks
PYTHONPATH=./code python3 ./code/distributed_optimization_library/experiments/page_ab/config_quadratic.py --experiments_name page_ab_neurips_2022_nodes_1000_nl_0_01_05_1_10_dim_10_wc_bz_more_info --num_nodes_list 1000 --theretical_step_size --step_size_range -8 10 --number_of_iterations 10000 --cpus_per_task 1 --noise_lambdas 0.0 0.1 0.5 1.0 10.0 --dim 10 --samplings 'original_page' 'uniform_with_replacement' 'importance' --strongly_convex_constant 0.001 --generate_type worst_case --batch_size 1 10 25 50 100 500 1000 --dumps_path ~/exepriments --dataset_path ~/data
PYTHONPATH=./code python3 ./code/distributed_optimization_library/experiments/page_ab/config_quadratic.py --experiments_name page_ab_neurips_2022_nodes_1000_nl_0_01_05_1_10_dim_10_with_compl_more_info --num_nodes_list 1000 --theretical_step_size --step_size_range -8 10 --number_of_iterations 10000 --cpus_per_task 1 --noise_lambdas 0.0 0.1 0.5 1.0 10.0 --dim 10 --samplings 'original_page' 'uniform_with_replacement' 'importance' --strongly_convex_constant 0.001 --dumps_path ~/exepriments --dataset_path ~/data
PYTHONPATH=./code python3 ./code/distributed_optimization_library/experiments/page_ab/config_quadratic.py --experiments_name page_ab_neurips_2022_nodes_1000_nl_0_01_05_1_10_dim_10_wc_with_compl_more_info --num_nodes_list 1000 --theretical_step_size --step_size_range -8 10 --number_of_iterations 10000 --cpus_per_task 1 --noise_lambdas 0.0 0.1 0.5 1.0 10.0 --dim 10 --samplings 'original_page' 'uniform_with_replacement' 'importance' --strongly_convex_constant 0.001 --generate_type worst_case --dumps_path ~/exepriments --dataset_path ~/data

# PLOTS
# L_{\pm}
python3 code/distributed_optimization_library/experiments/plots/page_ab/quad_prog_plot.py --dumps_paths ~/exepriments/page_ab_neurips_2022_nodes_1000_nl_0_01_05_1_10_dim_10_wc_with_compl_more_info/ --output_path ~/tmp_launch/tmp --filter_batch_size 1 --filter_noise_lambda 0 0.1 0.5 1
# L_{i} (ADD INFO min L_i and max L_i)
python3 code/distributed_optimization_library/experiments/plots/page_ab/quad_prog_plot.py --dumps_paths ~/exepriments/page_ab_neurips_2022_nodes_1000_nl_0_01_05_1_10_dim_10_with_compl_more_info/ --output_path ~/tmp_launch/tmp --filter_batch_size 1 --filter_noise_lambda 0 0.1 0.5 10.0 --local_l_experiment
# Different Batch Sizes importance vs original_page
python3 code/distributed_optimization_library/experiments/plots/page_ab/quad_prog_plot.py --dumps_paths ~/exepriments/page_ab_neurips_2022_nodes_1000_nl_0_01_05_1_10_dim_10_wc_bz_more_info/ --output_path ~/tmp_launch/tmp --filter_sampling importance original_page --filter_noise_lambda 0.1 --batch_experiment

# Experiments with LIBSVM
python3 ./code/distributed_optimization_library/experiments/page_ab/config_libsvm_page_ab.py --dumps_path /home/tyurina/exepriments --dataset_path /home/tyurina/data --dataset w8a --experiments_name page_ab_neurips_2022_w8a_logistic_theoretical_step --num_nodes_list 1 --step_size_range -16 0 --number_of_seeds 1 --number_of_iterations 500000 --algorithm_names vr_marina --cpus_per_task 1 --number_of_processes 10 --time 1 --quality_check_rate 10000 --oracle minibatch --batch_size 1 --function logistic_regression --logistic_regression_nonconvex 0.001 --samplings uniform_with_replacement importance --theretical_step_size
python3 ./code/distributed_optimization_library/experiments/page_ab/config_libsvm_page_ab.py --dumps_path /home/tyurina/exepriments --dataset_path /home/tyurina/data --dataset australian --experiments_name page_ab_neurips_2022_australian_logistic_theoretical_step --num_nodes_list 1 --step_size_range -16 0 --number_of_seeds 1 --number_of_iterations 500000 --algorithm_names vr_marina --cpus_per_task 1 --number_of_processes 10 --time 1 --quality_check_rate 10000 --oracle minibatch --batch_size 1 --function logistic_regression --logistic_regression_nonconvex 0.001 --samplings uniform_with_replacement importance --theretical_step_size

# PLOTS
python3 code/distributed_optimization_library/experiments/plots/page_ab/plot_vr-marina_mini-batch.py --dumps_paths ~/exepriments/page_ab_neurips_2022_australian_logistic_theoretical_step --output_path ~/tmp --max_show 1000000
python3 code/distributed_optimization_library/experiments/plots/page_ab/plot_vr-marina_mini-batch.py --dumps_paths ~/exepriments/page_ab_neurips_2022_w8a_logistic_theoretical_step --output_path ~/tmp --max_show 1.0