Ensure that the `linear_regression` conda environment is set up (as described in the parent folder `Readme.md`) and activated, and that the current working directory is `linear_regression`. Then:
- First, generate the linear regression curves from the appendix, with, for all `mydataset` in `[unit, autoprice, bodyfat]` (replace `mydataset` in the commands below by the appropriate one):
    - `bash ./run_all_mydataset.sh`
    - `bash ./plot_all_mydataset.sh`
    - The corresponding curves will be in the folders `./results/mydataset_q_X_k_X/` for various values of q and k.
- Then, you can generate the linear regression curves from the main paper with:
`python plot_one_unit_main_paper.py` (the resulting curves will be in `./results/unit_q_200_k_3/izo_unit_q_200_k_3_main_paper.png` and `./results/unit_q_200_k_3/nht_unit_q_200_k_3_main_paper.png`)