mltool alternatives and similar packages
Based on the "Math" category.
Alternatively, view mltool alternatives based on common mentions on social networks and blogs.
-
vector
An efficient implementation of Int-indexed arrays (both mutable and immutable), with a powerful loop optimisation framework . -
statistics
A fast, high quality library for computing with statistics in Haskell. -
HerbiePlugin
GHC plugin that improves Haskell code's numerical stability -
hgeometry
HGeometry is a library for computing with geometric objects in Haskell. It defines basic geometric types and primitives, and it implements some geometric data structures and algorithms. The main two focusses are: (1) Strong type safety, and (2) implementations of geometric algorithms and data structures that have good asymptotic running time guarantees. -
dimensional
Dimensional library variant built on Data Kinds, Closed Type Families, TypeNats (GHC 7.8+). -
computational-algebra
General-Purpose Computer Algebra System as an EDSL in Haskell -
mwc-random
A very fast Haskell library for generating high quality pseudo-random numbers. -
numhask
A haskell numeric prelude, providing a clean structure for numbers and operations that combine them. -
cf
"Exact" real arithmetic for Haskell using continued fractions (Not formally proven correct) -
poly
Fast polynomial arithmetic in Haskell (dense and sparse, univariate and multivariate, usual and Laurent) -
optimization
Some numerical optimization methods implemented in Haskell -
safe-decimal
Safe and very efficient arithmetic operations on fixed decimal point numbers -
equational-reasoning
Agda-style equational reasoning in Haskell -
monoid-subclasses
Subclasses of Monoid with a solid theoretical foundation and practical purposes -
eigen
Haskel binding for Eigen library. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms. -
vector-th-unbox
Deriver for unboxed vectors using Template Haskell -
modular-arithmetic
A useful type for working with integers modulo some constant.
Static code analysis for 29 languages.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of mltool or a related project?
README
Machine Learning Toolbox
Supported Methods and Problems
Supervised Learning
Regression Problem
Normal Equation;
Linear Regression using Least Squares approach.
Classification Problem
Softmax Classifier;
Multi SVM Classifier;
Logistic Regression;
Neural Networks, please see the details below.
Unsupervised Learning
Principal Component Analysis (Dimensionality reduction problem);
K-Means (Clustering).
Neural Networks
Activations: ReLu, Tanh, Sigmoid;
Loss Functions: Softmax, Multi SVM, Logistic.
Usage
OS X/macOS prerequisites setup
- Using Homebrew:
brew install pkg-config gsl
or
- Using MacPorts:
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
Linear Regression: source code;
Logistic Regression: source code;
Multiclass Logistic Regression: source code;
Multiclass Logistic Regression with PCA: source code;
Multiclass Support Vector Machine: source code;
Neural Networks: source code;
K-Means: source code.