This is the experiment code for the paper: 
"Naive Parallelization of Coordinate Descent Methods and an Application on Multi-core L1-regularized Classification"

This code will generate the tables and figures of the experimental results in the paper.
However, the result may be slightly different due to the CPU frequency
and the work load of your computer.

This code has been tested under a 64-bit Linux environment.

To run this experiment code, there are some requirement:

System Requirement
==================
This experiment should be running under 64-bit Linux environments
The following command are required:
- UNIX utilities (cp, mkdir)
- gcc 4.4.3 or newer version with openMP support
- Python 2.6 or Python 2.7
- make
- unzip
- Matlab (to generate figures)

Experiment Data
===============
Experiment Data used in this paper are available at
http://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/

Bundle CDN method
======================
We download the bundle CD implementation at https://github.com/bianan/ParallelCDN


Run the Experiment
==================
1. To run the experimental codes, you can simply type ``./run_exp.sh''
    1.1 To test if the script can run properly, you can edit ``run_exp.sh'' and specify the variable ``exp'' as -1.
    1.2 To test if the script can run properly on a small data set, ``rcv1_test'', you can edit ``run_exp.sh'' and specify the variable ``exp'' as 0.
    1.3 To generate all tables and figures in the paper, you can edit ``run_exp.sh'' and specify the variable ``exp'' as 1.
