aligusnet / mltool

Machine Learning Toolbox
BSD 3-Clause "New" or "Revised" License
35 stars 4 forks source link
haskell machine-learning neural-network

Machine Learning Toolbox

Build Status Coverage Status Documentation Hackage

Supported Methods and Problems

Supervised Learning

Regression Problem
Classification Problem

Unsupervised Learning

Neural Networks

Usage

OS X/macOS prerequisites setup

brew install pkg-config gsl

or

sudo port install pkgconfig gsl

Build the project

stack build

Run examples app

Please run sample app from root dir (because paths to training data sets are hardcoded).

cd examples
stack build
stack exec linreg      # Linear Regression Sample App
stack exec logreg      # Logistic Regression (Classification) Sample App
stack exec digits      # Muticlass Classification Sample App
                       # (Recognition of Handwritten Digitts
stack exec digits-pca  # Apply PCA dimensionaly reduction to digits sample app
stack exec digits-svm  # Support Vector Machines
stack exec nn          # Neural Network Sample App
                       # (Recognition of Handwritten Digits)
stack exec kmeans      # Clustering Sample App

Run unit tests

stack test

Examples