{"id":18835256,"url":"https://github.com/mlpack/examples","last_synced_at":"2025-04-12T19:48:50.725Z","repository":{"id":37103939,"uuid":"92665356","full_name":"mlpack/examples","owner":"mlpack","description":"Fully-working mlpack example programs","archived":false,"fork":false,"pushed_at":"2025-04-07T01:24:03.000Z","size":82462,"stargazers_count":130,"open_issues_count":5,"forks_count":94,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-12T19:48:32.452Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/mlpack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-28T14:13:18.000Z","updated_at":"2025-04-07T01:24:08.000Z","dependencies_parsed_at":"2022-06-24T11:22:15.808Z","dependency_job_id":"751bc517-2035-4508-a1df-d83f363f5267","html_url":"https://github.com/mlpack/examples","commit_stats":{"total_commits":867,"total_committers":43,"mean_commits":"20.162790697674417","dds":0.8477508650519031,"last_synced_commit":"018b8f217ae6edd20fe868ba714b341a0aee1484"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlpack%2Fexamples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlpack%2Fexamples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlpack%2Fexamples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlpack%2Fexamples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlpack","download_url":"https://codeload.github.com/mlpack/examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625501,"owners_count":21135513,"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":[],"created_at":"2024-11-08T02:15:09.961Z","updated_at":"2025-04-12T19:48:50.704Z","avatar_url":"https://github.com/mlpack.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"The mlpack **examples** repository contains simple example usages of mlpack.\nYou can take the code here and adapt it into your application, or compile it and\nsee what it does and play with it. Each of the examples are meant to be as\nsimple as possible, and they are extensively documented.\n\nAll the notebooks in this repository can be easily run on\nhttps://lab.mlpack.org/.\n\nmlpack is a C++ library that provides machine learning support, but it also\nprovides bindings to other languages, including Python and Julia, and it also\nprovides command-line programs, see the [main mlpack\nrepository](https://github.com/mlpack/mlpack) and [mlpack\nwebsite](https://www.mlpack.org/) for more information on how to install mlpack.\n\n### 0. Contents\n\n  1. [Overview](#1-overview)\n  2. [Building the examples and usage](#2-Building-the-examples-and-usage)\n  3. [Datasets](#3-datasets)\n\n###  1. Overview\n\nThis repository contains examples of mlpack usage that can be easily adapted to\nvarious applications.  If you're looking to figure out how to get mlpack working\nfor your machine learning task, this repository would definitely be a good place\nto look, along with the [mlpack\ndocumentation](https://www.mlpack.org/docs.html).\n\nTherefore, this repository contains examples that are using common datasets.\nThis repository is organized per language and per method that is used. \n\n* `cpp/`: various mlpack C++ examples showing different machine learning\n  algorithms. \n* `jupyter_notebook/`: mlpack examples C++ or Python written in jupyter\n  notebook format.\n* `embedded/`: directory contains mlpack C++ examples with more focus on\n  embedded system in the case of compilation and optimized binary and sensor\n  input. \n* `cli/` directory contains mlpack methods executed directly from the terminal\n  command line, suitable if you have a ready to use dataset and you do not want\n  to jump to the code.\n\n### 2. Building the examples and usage\n\nIn order to keep this repository as simple as possible, there is no build\nsystem, and all examples are minimal.  For the C++ examples, there is a Makefile\nin each example's directory; if you have mlpack installed on your system,\nrunning `make` should work fine.  Rarely, some other examples may also use other\nlibraries, and the Makefile expects those dependencies to also be available.\nSee the README in each directory for more information, For Python examples and\nother-language examples, it's expected that you have mlpack and its\ndependencies installed.\n\nEach example should be easily runnable and should perform a simple machine\nlearning task on a dataset.  You might need to download the dataset first---so\nbe sure to check any README for the example.\n\n### 3. Datasets\n\nAll the required dataset needed by the examples can be downloaded using the\nprovided script in the `scripts` directory. You will have to execute\n`download_data_set.py` from the `scripts/` directory and it will download and\nextract all the necessary datasets inside the `data/` directory in order for\nexamples to work perfectly:\n\n```sh\ncd scripts/\n./download_data_set.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlpack%2Fexamples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlpack%2Fexamples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlpack%2Fexamples/lists"}