Normal Equation;
Linear Regression using Least Squares approach.
Softmax Classifier;
Multi SVM Classifier;
Logistic Regression;
Neural Networks, please see the details below.
Principal Component Analysis (Dimensionality reduction problem);
K-Means (Clustering).
Activations: ReLu, Tanh, Sigmoid;
Loss Functions: Softmax, Multi SVM, Logistic.
brew install pkg-config gsl
or
sudo port install pkgconfig gsl
stack build
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
stack test
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.