{"id":20324384,"url":"https://github.com/oniani/lr","last_synced_at":"2026-06-11T07:30:59.845Z","repository":{"id":112156407,"uuid":"363793653","full_name":"oniani/lr","owner":"oniani","description":"Linear Regression from scratch in Rust","archived":false,"fork":false,"pushed_at":"2021-06-07T03:29:04.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T03:09:04.407Z","etag":null,"topics":["linear-regression","ndarray","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/oniani.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}},"created_at":"2021-05-03T02:05:06.000Z","updated_at":"2024-05-23T08:43:30.000Z","dependencies_parsed_at":"2023-08-01T09:02:01.344Z","dependency_job_id":null,"html_url":"https://github.com/oniani/lr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oniani/lr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oniani%2Flr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oniani%2Flr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oniani%2Flr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oniani%2Flr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oniani","download_url":"https://codeload.github.com/oniani/lr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oniani%2Flr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34188272,"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-11T02:00:06.485Z","response_time":57,"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":["linear-regression","ndarray","rust"],"created_at":"2024-11-14T19:33:47.615Z","updated_at":"2026-06-11T07:30:59.824Z","avatar_url":"https://github.com/oniani.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lr\n\nLinear Regression from scratch in Rust.\n\n## Dependencies\n\n- [ndarray](https://docs.rs/ndarray/0.15.1/ndarray/)\n\n## Example\n\n```rust\n// Construct a linear regression on the data with 1000 iterations and\n// the learning rate of 0.00002\nlet mut lr = LinearRegression::new(features, labels, 1_000, 2e-5);\n\n// Fit the model\nlr.fit();\n\n// Make predictions\nlet preds = lr.predict(\u0026data);\n```\n\n## References\n\n- [ndarray](https://docs.rs/ndarray/0.15.1/ndarray/)\n- [Linear regression](https://en.wikipedia.org/wiki/Linear_regression)\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foniani%2Flr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foniani%2Flr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foniani%2Flr/lists"}