mlpack is a C++ machine learning library, which is developed by the fundamental algorithmic and statistical tools laboratory (FASTLab) at Georgia Tech. Machine learning methods implemented in mlpack are following:
- Density Estimation Trees - mlpack::det::DTree
- Euclidean Minimum Spanning Trees - mlpack::emst::DualTreeBoruvka
- Gaussian Mixture Models (GMMs) - mlpack::gmm::GMM
- Hidden Markov Models (HMMs) - mlpack::hmm::HMM
- Kernel PCA - mlpack::kpca::KernelPCA
- K-Means Clustering - mlpack::kmeans::KMeans
- Least-Angle Regression (LARS/LASSO) - mlpack::regression::LARS
- Local Coordinate Coding - mlpack::lcc::LocalCoordinateCoding
- Locality-Sensitive Hashing - mlpack::neighbor::LSHSearch
- Naive Bayes Classifier - mlpack::naive_bayes::NaiveBayesClassifier
- Neighborhood Components Analysis (NCA) - mlpack::nca::NCA
- Principal Components Analysis (PCA) - mlpack::pca::PCA
- RADICAL (ICA) - mlpack::radical::Radical
- Simple Least-Squares Linear Regression - mlpack::regression::LinearRegression
- Sparse Coding - mlpack::sparse_coding::SparseCoding
- Tree-based neighbor search (AllkNN, AllkFN) - mlpack::neighbor::NeighborSearch
- Tree-based range search - mlpack::range::RangeSearch
mlpack requires
- BLAS
- LAPACK
- Armadillo >= 3.6.0
- LibXm2 >= 2.6.0
- Boost (program_options, math_c99, unit_test_framework, rando
0. Prerequisities
0.1. BLAS
- sudo apt-get install libblas-dev
0.2. LAPACK
Armadillo requires LAPACK to be compiled with gfortran.
#Lapack with gfortran
- wget http://www.netlib.org/lapack/lapack-3.5.0.tgz
- tar xzf lapack-3.5.0.tgz
- cd lapack-3.5.0/
- cmake-gui .
- # set CMAKE_Fortran_COMPILER = /usr/bin/gfortran for Armadillo
- # set CMAKE_Fortran_FLAGS = -fPIC
- make
- sudo make install
0.3 Armadillo >= 3.6.0 (with LAPACK support)
- wget http://downloads.sourceforge.net/project/arma/armadillo-3.930.2.tar.gz
- tar xzf armadillo-3.930.2.tar.gz
- cd armadillo-3.930.2
- cmake-gui .
- make
- sudo make install
0.4 LibXML2 >= 2.6.0
- sudo apt-get -yV install libxml2-dev
1. MLpack
- sudo apt-get -yV install txt2man
- wget http://www.mlpack.org/files/mlpack-1.0.7.tar.gz
- tar xzf mlpack-1.0.7.tar.gz
- mkdir mlpack-1.0.7-build
- cd mlpack-1.0.7-build
- cmake-gui ../mlpack-1.0.7
- make
- sudo make install
- sudo ldconfig