Skip to content

riskybacon/mnist_arma_blas

Repository files navigation

MNIST using Armadillo and BLAS

License: MIT

This small project is an intermediate step of moving the mnist_arma project away from Armadillo. There are no Armadillo references in this project except for earlier commits.

Lessons learned in this project will be used in the cakematic library.

Two important goals are documentation using Sphinx documentation and integrating Sphinx with Doxygen.

Dependencies:

brew install freetype

Install pngwriter from source, install into /usr/local

Building

git clone git@github.com:riskybacon/mnist_arma_blas.git
cd mnist_arma_blas
mkdir build
cd build
../get_mnist.sh
cmake ..
make
./mnist_arma_blas

Tested under macOS, XCode 9

If you are using iTerm2, have imagecat and ImageMagick installed, display the weights with:

convert theta1.png -resize 500 - | imagecat
convert theta2.png -resize 500 - | imagecat

Install ImageMagick with homebrew:

brew install imagemagick

Documentation

HTML

macOS:

brew install doxygen
cd docs
make refhtml
open _build/html/ref/html/index.html

PDF

macOS:

brew cask install mactex
export PATH=${PATH}:/usr/local/texlive/2017/bin/x86_64-darwin
cd docs
make refpdf
open _build/ref/latex/refman.pdf

Releases

No releases published

Packages

No packages published