{"id":16684247,"url":"https://github.com/aligusnet/mltool","last_synced_at":"2025-10-05T19:07:01.639Z","repository":{"id":56847144,"uuid":"77413391","full_name":"aligusnet/mltool","owner":"aligusnet","description":"Machine Learning Toolbox","archived":false,"fork":false,"pushed_at":"2018-06-10T16:23:17.000Z","size":343,"stargazers_count":35,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-24T09:17:41.676Z","etag":null,"topics":["haskell","machine-learning","neural-network"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aligusnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-27T00:13:34.000Z","updated_at":"2020-04-30T08:06:10.000Z","dependencies_parsed_at":"2022-09-12T11:44:31.277Z","dependency_job_id":null,"html_url":"https://github.com/aligusnet/mltool","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aligusnet%2Fmltool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aligusnet%2Fmltool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aligusnet%2Fmltool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aligusnet%2Fmltool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aligusnet","download_url":"https://codeload.github.com/aligusnet/mltool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244153316,"owners_count":20406996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["haskell","machine-learning","neural-network"],"created_at":"2024-10-12T14:42:49.812Z","updated_at":"2025-10-05T19:06:56.586Z","avatar_url":"https://github.com/aligusnet.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Machine Learning Toolbox\n\n[![Build Status](https://travis-ci.org/aligusnet/mltool.svg?branch=master)](https://travis-ci.org/aligusnet/mltool)\n[![Coverage Status](https://coveralls.io/repos/github/aligusnet/mltool/badge.svg)](https://coveralls.io/github/aligusnet/mltool)\n[![Documentation](https://img.shields.io/badge/mltool-documentation-blue.svg)](https://aligusnet.github.io/mltool-docs/doc/index.html)\n[![Hackage](https://img.shields.io/hackage/v/mltool.svg)](https://hackage.haskell.org/package/mltool)\n\n### Supported Methods and Problems\n\n#### Supervised Learning\n\n##### Regression Problem\n\n* Normal Equation;\n\n* Linear Regression using Least Squares approach.\n\n##### Classification Problem\n\n* Softmax Classifier;\n\n* Multi SVM Classifier;\n\n* Logistic Regression;\n\n* Neural Networks, please see the details below.\n\n#### Unsupervised Learning\n\n* Principal Component Analysis (Dimensionality reduction problem);\n\n* K-Means (Clustering).\n\n#### Neural Networks\n\n* Activations: ReLu, Tanh, Sigmoid;\n\n* Loss Functions: Softmax, Multi SVM, Logistic.\n\n### Usage\n\n#### OS X/macOS prerequisites setup\n\n* Using [Homebrew](https://brew.sh/):\n\n```\nbrew install pkg-config gsl\n```\n\nor \n\n* Using [MacPorts](https://www.macports.org/):\n\n```\nsudo port install pkgconfig gsl\n```\n\n#### Build the project\n\n    stack build\n\n#### Run examples app\n\nPlease run sample app from root dir (because paths to training data sets are hardcoded).\n\n```bash\ncd examples\nstack build\nstack exec linreg      # Linear Regression Sample App\nstack exec logreg      # Logistic Regression (Classification) Sample App\nstack exec digits      # Muticlass Classification Sample App\n                       # (Recognition of Handwritten Digitts\nstack exec digits-pca  # Apply PCA dimensionaly reduction to digits sample app\nstack exec digits-svm  # Support Vector Machines\nstack exec nn          # Neural Network Sample App\n                       # (Recognition of Handwritten Digits)\nstack exec kmeans      # Clustering Sample App\n```\n\n#### Run unit tests\n\n    stack test\n\n\n### Examples\n\n* Linear Regression: [source code](https://github.com/aligusnet/mltool/blob/master/examples/linear_regression/Main.hs);\n\n* Logistic Regression: [source code](https://github.com/aligusnet/mltool/blob/master/examples/logistic_regression/Main.hs);\n\n* Multiclass Logistic Regression: [source code](https://github.com/aligusnet/mltool/blob/master/examples/digits_classification/Main.hs);\n\n* Multiclass Logistic Regression with PCA: [source code](https://github.com/aligusnet/mltool/blob/master/examples/digits_classification_pca/Main.hs);\n\n* Multiclass Support Vector Machine: [source code](https://github.com/aligusnet/mltool/blob/master/examples/digits_classification_svm/Main.hs);\n\n* Neural Networks: [source code](https://github.com/aligusnet/mltool/blob/master/examples/neural_networks/Main.hs);\n\n* K-Means: [source code](https://github.com/aligusnet/mltool/blob/master/examples/kmeans/Main.hs).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faligusnet%2Fmltool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faligusnet%2Fmltool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faligusnet%2Fmltool/lists"}