ChrysalisN / sifr

About_ML_CG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Requirements:

ubuntu os

python3

g++

armadillo matrix library

armadillo install

  1. run the following command to install OpenBLAS and LAPACK
    sudo apt-get install libopenblas-dev
    sudo apt-get install liblapack-dev
    sudo apt-get install libarpack2-dev
    sudo apt-get install libsuperlu-dev
  2. 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
  3. install armadillo
    cd armadillo-11.2.3
    cmake .
    make
    sudo make install

Run

  1. 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
  1. Preprocessed data dataset
mkdir -p ./data/after
python split_dataset.py
  1. build run file
    g++ main.cpp -o main -std=c++11 -O2 -larmadillo
  2. run
mkdir  sqhinge
python exp.py

About

About_ML_CG


Languages

Language:C++ 59.9%Language:Python 27.1%Language:Jupyter Notebook 13.0%