# Matching Experiment README


## Running the Matching Probabilities:
To get the Figure 4, run the plot_matching_probabilities.ipynb file

## Running the Wyner-Ziv Experiment
To execute the Gaussian Experiment, run the following command: ``bash run.sh''

This will generate text files for ERS, PML, and IML.

## Output
Each text file contains a dictionary with the following values for each key:
{ Rate,
  Matching Probabilities,
  Distortion,
  Ideal Distortion (without mismatching error),
  Average Batch Acceptance Probability (ERS only)
}

## Parameter Adjustment
Modify the parameters in run.sh to explore different points on the curve in the paper. Set n_trials=100000 for accurate estimate. Also see Appendix L.

