本文首发于个人博客https://kezunlin.me/post/1cd6a04d/,欢迎阅读最新内容!
tutorial to compile and install mplack on ubuntu 16.04
Guide
mlpack: a scalable C machine learning library
dependencies
- Armadillo >= 6.500.0
- Boost
- CMake >= 3.3.2
Armadillo: c linear algebra library based on
LAPACK
andBLAS
If you are compiling Armadillo by hand, ensure that LAPACK and BLAS are enabled.
see OpenCV vs. Armadillo vs. Eigen on Linux
sudo apt-get install libarmadillo-dev
install
apt-get
sudo apt-get install libmlpack-dev
> version: 2.0.1
> by default `mlpack` will install to `/usr/include/mlpack` and `/usr/lib`
compile
wget https://www.mlpack.org/files/mlpack-3.1.1.tar.gz
git clone https://github.com/mlpack/mlpack.git
mkdir build && cd build && cmake-gui ..
make -j8
sudo make install
configure and output