This is the code for the paper 'Efficient Low-Rank Matrix Estimation, Experimental Design, and Arm-Set-Dependent Low-Rank Bandits'
- python 3 with numpy, scipy, sklearn, cython, ipdb, cvxpy, tqdm, mosek
- Especially about mosek, you need an additional license file to actually use the package.
- in
matrixrecovery
, runcython myutils_cython.pyx
and thenpython3 setup.py install
- for mac
- in
pyOptSpace_py3_custom
, runcython optspace.pyx
thenpython3 setup.py install
- copy the created
*.so
file to the upper directory
- in
- for linux
- do the same as mac above, but in the directory
pyOptSpace_py3_linux_custom
- do the same as mac above, but in the directory
- Run 'Figure1_left_estimator_experi_easy.ipynb' in 'Figure 123'
- Run 'Figure1_right_estimator_experi_hard.ipynb' in 'Figure 123'
- Run 'Figure2_left_ETC_regret_analysis.ipynb' in 'Figure 123'
- Run the script ./running_script.sh
- Move all .pkl files to a subfolder in /res-20230928/R1_lambda_1/T100000 folder
- remove all the date prefix on .pkl file name. For example, change the name '20230928Sun-123456-bmoracle.pkl' to 'bmoracle.pkl'
- Run
python3 analyze_expr01_230928_paper.py