{"id":17447845,"url":"https://github.com/pmuens/lab","last_synced_at":"2025-04-24T03:13:17.197Z","repository":{"id":146810814,"uuid":"181851777","full_name":"pmuens/lab","owner":"pmuens","description":"Research Environment to play around with Algorithms and Data (Structures)","archived":false,"fork":false,"pushed_at":"2020-08-13T07:21:51.000Z","size":7348,"stargazers_count":55,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-24T03:13:11.853Z","etag":null,"topics":["algorithms","artificial-intelligence","artificial-neural-networks","data-science","deep-learning","jupyter","jupyter-notebook","machine-learning","machine-learning-algorithms"],"latest_commit_sha":null,"homepage":"https://philippmuens.com","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmuens.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-04-17T08:42:45.000Z","updated_at":"2024-10-26T09:06:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"a7b05748-3f89-4b49-9f3e-72698909cefc","html_url":"https://github.com/pmuens/lab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuens%2Flab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuens%2Flab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuens%2Flab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmuens%2Flab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmuens","download_url":"https://codeload.github.com/pmuens/lab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250552075,"owners_count":21449165,"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":["algorithms","artificial-intelligence","artificial-neural-networks","data-science","deep-learning","jupyter","jupyter-notebook","machine-learning","machine-learning-algorithms"],"created_at":"2024-10-17T19:54:16.050Z","updated_at":"2025-04-24T03:13:17.176Z","avatar_url":"https://github.com/pmuens.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lab\n\nPersonal lab to play around with algorithms and data.\n\n**NOTE:** In order to make the implementations as understandable as possible I sometimes write more expressive code which could result in poor performance or disapproval of purists. I strongly believe that readability for such educational endeavors is more important than high-performance or idiomatic code.\n\n## Implementations\n\n### X from scratch\n\nFrom scratch implementations of various algorithms and models in pure Python.\n\n| Notebook                                      |               nbviewer               |           Google Colab            |            Blog post             |\n| --------------------------------------------- | :----------------------------------: | :-------------------------------: | :------------------------------: |\n| [Gradient Descent][gradient-descent-nb]       |  [Link][gradient-descent-nbviewer]   |  [Link][gradient-descent-colab]   |  [Link][gradient-descent-post]   |\n| [k-NN][k-nn-nb]                               |        [Link][k-nn-nbviewer]         |        [Link][k-nn-colab]         |        [Link][k-nn-post]         |\n| [Naive Bayes][naive-bayes-nb]                 |     [Link][naive-bayes-nbviewer]     |     [Link][naive-bayes-colab]     |     [Link][naive-bayes-post]     |\n| [Linear Regression][linear-regression-nb]     |  [Link][linear-regression-nbviewer]  |  [Link][linear-regression-colab]  |  [Link][linear-regression-post]  |\n| [Multiple Regression][multiple-regression-nb] | [Link][multiple-regression-nbviewer] | [Link][multiple-regression-colab] | [Link][multiple-regression-post] |\n| [Logistic Regression][logistic-regression-nb] | [Link][logistic-regression-nbviewer] | [Link][logistic-regression-colab] | [Link][logistic-regression-post] |\n| [Decision Trees][decision-trees-nb]           |   [Link][decision-trees-nbviewer]    |   [Link][decision-trees-colab]    |   [Link][decision-trees-post]    |\n| [Neural Networks][neural-networks-nb]         |   [Link][neural-networks-nbviewer]   |   [Link][neural-networks-colab]   |           Coming soon            |\n| [k-means Clustering][k-means-clustering-nb]   | [Link][k-means-clustering-nbviewer]  | [Link][k-means-clustering-colab]  |           Coming soon            |\n\n[gradient-descent-nb]: ./x-from-scratch/gradient-descent-from-scratch.ipynb\n[gradient-descent-nbviewer]: https://nbviewer.jupyter.org/github/pmuens/lab/blob/master/x-from-scratch/gradient-descent-from-scratch.ipynb\n[gradient-descent-colab]: https://colab.research.google.com/github/pmuens/lab/blob/master/x-from-scratch/gradient-descent-from-scratch.ipynb\n[gradient-descent-post]: https://philippmuens.com/gradient-descent-from-scratch/\n[k-nn-nb]: ./x-from-scratch/k-nn-from-scratch.ipynb\n[k-nn-nbviewer]: https://nbviewer.jupyter.org/github/pmuens/lab/blob/master/x-from-scratch/k-nn-from-scratch.ipynb\n[k-nn-colab]: https://colab.research.google.com/github/pmuens/lab/blob/master/x-from-scratch/k-nn-from-scratch.ipynb\n[k-nn-post]: https://philippmuens.com/k-nearest-neighbors-from-scratch/\n[naive-bayes-nb]: ./x-from-scratch/naive-bayes-from-scratch.ipynb\n[naive-bayes-nbviewer]: https://nbviewer.jupyter.org/github/pmuens/lab/blob/master/x-from-scratch/naive-bayes-from-scratch.ipynb\n[naive-bayes-colab]: https://colab.research.google.com/github/pmuens/lab/blob/master/x-from-scratch/naive-bayes-from-scratch.ipynb\n[naive-bayes-post]: https://philippmuens.com/naive-bayes-from-scratch/\n[linear-regression-nb]: ./x-from-scratch/linear-regression-from-scratch.ipynb\n[linear-regression-nbviewer]: https://nbviewer.jupyter.org/github/pmuens/lab/blob/master/x-from-scratch/linear-regression-from-scratch.ipynb\n[linear-regression-colab]: https://colab.research.google.com/github/pmuens/lab/blob/master/x-from-scratch/linear-regression-from-scratch.ipynb\n[linear-regression-post]: https://philippmuens.com/linear-and-multiple-regression-from-scratch/\n[multiple-regression-nb]: ./x-from-scratch/multiple-regression-from-scratch.ipynb\n[multiple-regression-nbviewer]: https://nbviewer.jupyter.org/github/pmuens/lab/blob/master/x-from-scratch/multiple-regression-from-scratch.ipynb\n[multiple-regression-colab]: https://colab.research.google.com/github/pmuens/lab/blob/master/x-from-scratch/multiple-regression-from-scratch.ipynb\n[multiple-regression-post]: https://philippmuens.com/linear-and-multiple-regression-from-scratch/\n[logistic-regression-nb]: ./x-from-scratch/logistic-regression-from-scratch.ipynb\n[logistic-regression-nbviewer]: https://nbviewer.jupyter.org/github/pmuens/lab/blob/master/x-from-scratch/logistic-regression-from-scratch.ipynb\n[logistic-regression-colab]: https://colab.research.google.com/github/pmuens/lab/blob/master/x-from-scratch/logistic-regression-from-scratch.ipynb\n[logistic-regression-post]: https://philippmuens.com/logistic-regression-from-scratch/\n[decision-trees-nb]: ./x-from-scratch/decision-trees-from-scratch.ipynb\n[decision-trees-nbviewer]: https://nbviewer.jupyter.org/github/pmuens/lab/blob/master/x-from-scratch/decision-trees-from-scratch.ipynb\n[decision-trees-colab]: https://colab.research.google.com/github/pmuens/lab/blob/master/x-from-scratch/decision-trees-from-scratch.ipynb\n[decision-trees-post]: https://philippmuens.com/decision-trees-from-scratch/\n[neural-networks-nb]: ./x-from-scratch/neural-networks-from-scratch.ipynb\n[neural-networks-nbviewer]: https://nbviewer.jupyter.org/github/pmuens/lab/blob/master/x-from-scratch/neural-networks-from-scratch.ipynb\n[neural-networks-colab]: https://colab.research.google.com/github/pmuens/lab/blob/master/x-from-scratch/neural-networks-from-scratch.ipynb\n[k-means-clustering-nb]: ./x-from-scratch/k-means-clustering-from-scratch.ipynb\n[k-means-clustering-nbviewer]: https://nbviewer.jupyter.org/github/pmuens/lab/blob/master/x-from-scratch/k-means-clustering-from-scratch.ipynb\n[k-means-clustering-colab]: https://colab.research.google.com/github/pmuens/lab/blob/master/x-from-scratch/k-means-clustering-from-scratch.ipynb\n\n## Running it\n\n**NOTE:** You can pass an optional port number as the first CLI argument (i.e. `./jupyter-lab 3000`).\n\n### Jupyter Lab\n\n```sh\n./jupyter-lab.sh\n```\n\n### Jupyter Notebook\n\n```sh\n./jupyter-notebook.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmuens%2Flab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmuens%2Flab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmuens%2Flab/lists"}