{"id":21028494,"url":"https://github.com/dirkschumacher/tfjs-glm","last_synced_at":"2026-04-25T15:35:22.295Z","repository":{"id":145906740,"uuid":"193386887","full_name":"dirkschumacher/tfjs-glm","owner":"dirkschumacher","description":"Generalized linear models in tensorflow.js (WIP)","archived":false,"fork":false,"pushed_at":"2023-05-06T03:15:53.000Z","size":21,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-04-21T13:46:17.001Z","etag":null,"topics":["generalized-linear-models","statistics","tensorflow","tensorflow-js"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/dirkschumacher.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-06-23T19:21:23.000Z","updated_at":"2022-02-19T19:18:16.000Z","dependencies_parsed_at":"2023-04-28T13:47:50.662Z","dependency_job_id":null,"html_url":"https://github.com/dirkschumacher/tfjs-glm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dirkschumacher/tfjs-glm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkschumacher%2Ftfjs-glm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkschumacher%2Ftfjs-glm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkschumacher%2Ftfjs-glm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkschumacher%2Ftfjs-glm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dirkschumacher","download_url":"https://codeload.github.com/dirkschumacher/tfjs-glm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dirkschumacher%2Ftfjs-glm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32267710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["generalized-linear-models","statistics","tensorflow","tensorflow-js"],"created_at":"2024-11-19T11:55:50.271Z","updated_at":"2026-04-25T15:35:22.277Z","avatar_url":"https://github.com/dirkschumacher.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tfjs-glm\nGeneralized linear models in tensorflow.js using Iteratively Re-Weighted Least Squares (WIP)\n\nExperimental and work in progress. Use at own risk. Still numerical problems, especially with log link.\n\n## Families\n\n* Gaussian (links: identity)\n* Binomial (links: logit)\n* Poisson (links: log)\n\n## API\n\n```js\nconst {glm, gaussian, binomial, poisson} = require(\"tfjs-glm\")\n\n// linear regression\nconst coefficents = glm(designMatrix, response, gaussian(\"identity\"))\n\n// logistic regression\nconst coefficents = glm(designMatrix, response, binomial(\"logit\"))\n\n// poisson regression\nconst coefficents = glm(designMatrix, response, poisson(\"log\"))\n```\n\n## References\n\n1: Arnold, T., Kane, M., \u0026 Lewis, B. W. (2019). A Computational Approach to Statistical Learning. CRC Press.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirkschumacher%2Ftfjs-glm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirkschumacher%2Ftfjs-glm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirkschumacher%2Ftfjs-glm/lists"}