MachineIntelligenceCore:Algorithms
|
![GitHub license](https://img.shields.io/github/license/IBM/mi-toolchain.svg)
![Build Status](https://travis-ci.com/IBM/mi-algorithms.svg?branch=master) ![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/IBM/mi-algorithms.svg?logo=lgtm&logoWidth=18) ![Total alerts](https://img.shields.io/lgtm/alerts/g/IBM/mi-algorithms.svg?logo=lgtm&logoWidth=18)
A subproject of Machine Intelligence Core framework.
The project contains core types (sample, batch, matrix tensor) and tools (MNIST/CIFAR/STL/RawText importers, encoders etc.) useful when training different models and working with different problems.
Additionally it depends on the following external libraries:
sudo apt-get install git cmake doxygen libboost1.54-all-dev libeigen3-dev
To install GTest on Ubuntu:
sudo apt-get install libgtest-dev
brew install git cmake doxygen boost eigen
To install GTest on Mac OS X:
brew install --HEAD https://gist.githubusercontent.com/Kronuz/96ac10fbd8472eb1e7566d740c4034f8/raw/gtest.rb
This step is required only when not downloaded/installed the listed MIC dependencies earlier.
In directory scripts one can find script that will download and install all required MIC modules.
git clone git@github.com:IBM/mi-algorithms.git cd mi-algorithms ./scripts/install_mic_deps.sh ../mic
Then one can install the module by calling the following.
./scripts/build_mic_module.sh ../mic
Please note that it will create a directory 'deps' and download all sources into that directory. After compilation all dependencies will be installed in the directory '../mic'.
The following assumes that all MIC dependencies are installed in the directory '../mic'.
git clone git@github.com:IBM/mi-algorithms.git cd mi-algorithms ./scripts/build_mic_module.sh ../mic
In order to generate a "living" documentation of the code please run Doxygen:
cd mi-algorithms doxygen mi-algorithms.doxyfile firefox html/index.html
The current documentation (generated straight from the code and automatically uploaded to github pages by Travis) is available at:
https://ibm.github.io/mi-algorithms/
![HitCount](http://hits.dwyl.io/tkornut/ibm/mi-algorithms.svg)