# Code for Figure 2b
Figure 2b shows that pattern Rashomon ratios tend to be larger for smaller hypothesis spaces.

# Step 1 - Generate datasets
Run `python3 create_datasets.py`. Results are stored in `../data_real/generated`.
This step generates datasets for every possible combination of features and checks if that combination can contribute models to the Rashomon set of given complexity. Stores results in `../data_real/generated/`

# Step 2 - Generate ssh files to then compute patterns
run `python3 create_ssh.py`. 
Creates ssh files for every dataset in `../data_real/generated/` folder

# Step 3 - Discard points - optional 
run `./all_run_dp.sh`. For more details on the method see readme in `demo_compute_patterns`

# Step 4 - Combine results from discarded points and sort data 
run `./all_run_dp_reduce.sh`. For more details on the method see readme in `demo_compute_patterns`

# Step 5 - Run branch and bound for different datasets
run `./all_run_get_patterns.sh`. For more details on the method see readme in `demo_compute_patterns`

# Step 6 - Combine and plot results
run `python3 combine_and_plot.py`. This script aggregates results and plots them in a single figure.
