This repository contains companion code for the paper "SAPPHIRE: Preconditioned Stochastic Variance Reduction for Faster Large-Scale Statistical Learning".
-
Download the data:
python download_data.py
-
Run experiments Options:
--run_all: Run all experiments--exp_names: Specify experiment names (space-separated)
Examples:
python -m experiments.run_experiments --exp_names showcase python -m experiments.run_experiments --exp_names lasso_small logistic_smallFor a list of valid experiment names, see
run_experiments.py(Line 78).
- Experiment results are saved as pickle files in the
resultsfolder. - To generate figures, run the scripts in the
plottingfolder. - Plots will be saved in
results/plots.
Note: Pre-computed results and plots for all experiments are already included in the results folder.
All datasets (except for one) used for the experiments can be obtained running download_data.py. The exception is the UK Biobank dataset, which is not available for public distribution.