{"id":16753445,"url":"https://github.com/thbar/machine-learning-playground","last_synced_at":"2026-03-18T22:01:51.990Z","repository":{"id":66410880,"uuid":"60175901","full_name":"thbar/machine-learning-playground","owner":"thbar","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-21T17:36:00.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T05:41:22.225Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Matlab","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/thbar.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":"2016-06-01T12:40:51.000Z","updated_at":"2023-07-01T21:27:12.000Z","dependencies_parsed_at":"2023-02-22T09:16:19.072Z","dependency_job_id":null,"html_url":"https://github.com/thbar/machine-learning-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thbar/machine-learning-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thbar%2Fmachine-learning-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thbar%2Fmachine-learning-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thbar%2Fmachine-learning-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thbar%2Fmachine-learning-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thbar","download_url":"https://codeload.github.com/thbar/machine-learning-playground/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thbar%2Fmachine-learning-playground/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265121104,"owners_count":23714495,"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-10-13T02:50:08.941Z","updated_at":"2026-02-04T08:01:47.317Z","avatar_url":"https://github.com/thbar.png","language":"Matlab","funding_links":[],"categories":[],"sub_categories":[],"readme":"In this repo, I'm adding various tooling and tests around statistics \u0026 machine learning.\n\n[![Build Status](https://travis-ci.org/thbar/machine-learning-playground.svg?branch=master)](https://travis-ci.org/thbar/machine-learning-playground)\n\n## How to install Octave\n\n```\n$ brew install octave\n```\n\nWork-around to get a working install of octave 4.0.2:\n\n```\n$ brew reinstall octave --build-from-source\n$ brew reinstall qrupdate --build-from-source\n```\n\n## How to fix \"WARNING: Plotting with an 'unknown' terminal\"\n\n```\n$ brew uninstall --force gnuplot\n$ brew install gnuplot --with-x11\n```\n\nThen in octave:\n\n```\n$ setenv(\"GNUTERM\",\"X11\")\n$ hist(randn(1,10000))           % should show an histogram\n```\n\n## Installing MOxUnit for unit testing\n\n```\n$ git clone https://github.com/MOxUnit/MOxUnit.git\n$ cd MOxUnit\n$ make install\n$ cat ~/.octaverc\n```\n\n## How to run unit tests automatically on file save\n\n```\n$ brew install entr\n$ ls *.m | entr ./run_tests.sh \n```\n\n## How to install language support for atom\n\n```\n$ apm install language-matlab-octave\n```\n\n## Useful links\n\n* [Coursera Stanford machine learning course](https://www.coursera.org/learn/machine-learning)\n* [MOxUnit travis configuration](https://github.com/MOxUnit/MOxUnit/blob/master/.travis.yml)\n\n## Common octave commands\n\n```\nPS1('\u003e\u003e ');                           % change prompt\na = 3;                                % semicolon supressing output\ndisp(sprintf('2 decimals: %0.2f', a)) % formatting\nformat long\nformat short\n\nA = [1 2; 3 4; 5 6]                   % 3x2 matrix - \";\" means new row\nv = [1; 2; 3;]\nv = 1:0.1:2                           %\nv = 1:6\nones(2,3)                             \nzeroes(2,3)\neye(3)\nrand(3,3)                             % 3x3 rand matrix with uniform distribution\nrandn(1,3)                            % gaussian distribution\nw = -6 + sqrt(10) * randn(1,10000)\nhist(w)\nhist(w,50)\nhelp(eye)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthbar%2Fmachine-learning-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthbar%2Fmachine-learning-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthbar%2Fmachine-learning-playground/lists"}