{"id":49453734,"url":"https://github.com/shawnkoon/machine-learning-typescript","last_synced_at":"2026-06-18T22:01:03.099Z","repository":{"id":44468291,"uuid":"172150400","full_name":"shawnkoon/machine-learning-typescript","owner":"shawnkoon","description":"Machine Learning 🤖apps using JavaScript/TypeScript with Tensorflow.","archived":false,"fork":false,"pushed_at":"2022-12-03T00:39:20.000Z","size":1124,"stargazers_count":14,"open_issues_count":14,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-07T14:16:56.811Z","etag":null,"topics":["algorithm","javascript","machine-learning","math","tensorflow","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shawnkoon.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":"2019-02-22T23:57:28.000Z","updated_at":"2022-12-20T23:02:55.000Z","dependencies_parsed_at":"2023-01-23T04:15:32.793Z","dependency_job_id":null,"html_url":"https://github.com/shawnkoon/machine-learning-typescript","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/shawnkoon/machine-learning-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawnkoon%2Fmachine-learning-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawnkoon%2Fmachine-learning-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawnkoon%2Fmachine-learning-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawnkoon%2Fmachine-learning-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shawnkoon","download_url":"https://codeload.github.com/shawnkoon/machine-learning-typescript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shawnkoon%2Fmachine-learning-typescript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34508867,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-18T02:00:06.871Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["algorithm","javascript","machine-learning","math","tensorflow","typescript"],"created_at":"2026-04-30T04:01:03.704Z","updated_at":"2026-06-18T22:01:03.092Z","avatar_url":"https://github.com/shawnkoon.png","language":"TypeScript","funding_links":[],"categories":["📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":"# machine-learning-typescript\n\n\u003cp float=\"left\"\u003e\n    \u003cimg src=\"./static/typescript.png\" alt=\"typescript\" width=\"250\" height=\"250\" /\u003e\n    \u003cimg src=\"./static/tensorflow.png\" alt=\"tensorflow\" width=\"250\" height=\"250\" /\u003e\n\u003c/p\u003e\n\n**Machine Learning apps using JavaScript/TypeScript with Tensorflow.**\n\n## Key Points\n\n- ### 🎯 Basic Machine Learning Algorithms \u0026\u0026 Math\n- ### 🎯 Theory behind feature selection\n- ### 🎯 Testing custom algorithms using test set of data\n- ### 🎯 TypeScript \u0026 ES2015+\n- ### 🎯 Tensorflow usage\n- ### 🎯 etc...\n\n## List of apps\n\n### **[Plinko Application](./plinko/README.md)**\n\n\u003cimg src=\"./static/plinko.png\" alt=\"plinko\" width=\"650\" height=\"400\" /\u003e\n\n- Goal:\n  - \u003e Given some data about where a ball is dropped from, can we predict what bucket it will end up in?\n\n### **[House Price](./house-price/README.md)**\n\n```bash\n$ npm run start\n...\nPrediction: 1251260 Real: 1085000 Error: -15.323502304147466%\nPrediction: 519756.5 Real: 466800 Error: -11.344580119965723%\nPrediction: 433700 Real: 425000 Error: -2.047058823529412%\nPrediction: 455800 Real: 565000 Error: 19.327433628318584%\nPrediction: 699750 Real: 759000 Error: 7.806324110671936%\nPrediction: 584260 Real: 512031 Error: -14.106372465729613%\nPrediction: 835450 Real: 768000 Error: -8.782552083333334%\nPrediction: 1329790 Real: 1532500 Error: 13.227406199021207%\nPrediction: 279422.5 Real: 204950 Error: -36.336911441815076%\nPrediction: 228767.5 Real: 247000 Error: 7.381578947368421%\n```\n\n- Goal:\n  - \u003e Given a House with locations, can we figure out an estimated value of the house based on houses near that point?\n\n### **[Cars](./cars/README.md)**\n\n```bash\n\n$ npm run start\n\n...\nExecuting Linear regression analysis 📈\n\n\u003e Tensor // predict\n    [[...]]\n\u003e r2 is ... // Coefficient of Determination value indicating accuracy of current linear regression function.\n\nFinished Linear regression analysis 📉\n\nExecuting Logistic regression analysis 📈\n\nAccuracy : x %\n\nFinished Logistic regression analysis 📉\n...\n```\n\n- Goal:\n  - \u003e Linear Regression : Given some data about cars, can we predict relationship between Miles Per Gallon (MPG) and car's Horsepower?\n  - \u003e Logistic Regression : Given some data about cars, can we predict relationship with Emission pass or fail?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshawnkoon%2Fmachine-learning-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshawnkoon%2Fmachine-learning-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshawnkoon%2Fmachine-learning-typescript/lists"}