ubuntu os
python3
g++
armadillo matrix library
- run the following command to install
OpenBLAS
andLAPACK
sudo apt-get install libopenblas-dev sudo apt-get install liblapack-dev sudo apt-get install libarpack2-dev sudo apt-get install libsuperlu-dev
- download and unzip files
wget https://nchc.dl.sourceforge.net/project/arma/armadillo-11.2.3.tar.xz tar -xvJf armadillo-11.2.3.tar.xz
- install armadillo
cd armadillo-11.2.3 cmake . make sudo make install
- download the dataset into
./data/or
: 'a9a','w8a','ijcnn1','SUSY','HIGGS'
wget -P ./data/or https://www.csie.ntu.edu.tw/~cjlin/libsvmtools/datasets/binary/a9a
- Preprocessed data dataset
mkdir -p ./data/after
python split_dataset.py
- build run file
g++ main.cpp -o main -std=c++11 -O2 -larmadillo
- run
mkdir sqhinge
python exp.py