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 . -
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+). -
numhask
A haskell numeric prelude, providing a clean structure for numbers and operations that combine them. -
poly
Fast polynomial arithmetic in Haskell (dense and sparse, univariate and multivariate, usual and Laurent) -
eigen
Haskel binding for Eigen library. Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.
InfluxDB - Power Real-Time Data Analytics at Scale
* 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.