{"id":13475115,"url":"https://github.com/rust-ml/book","last_synced_at":"2025-10-16T16:02:07.470Z","repository":{"id":40626061,"uuid":"283974111","full_name":"rust-ml/book","owner":"rust-ml","description":"The Rust Machine Learning Book","archived":false,"fork":false,"pushed_at":"2024-02-17T15:31:51.000Z","size":1737,"stargazers_count":211,"open_issues_count":2,"forks_count":21,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-09T21:18:17.159Z","etag":null,"topics":["machine-learning","rust"],"latest_commit_sha":null,"homepage":"https://rust-ml.github.io/book/","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rust-ml.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE-2.0","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":"2020-07-31T07:40:04.000Z","updated_at":"2025-04-06T07:03:35.000Z","dependencies_parsed_at":"2024-10-30T06:51:40.127Z","dependency_job_id":null,"html_url":"https://github.com/rust-ml/book","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/rust-ml%2Fbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-ml%2Fbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-ml%2Fbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rust-ml%2Fbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rust-ml","download_url":"https://codeload.github.com/rust-ml/book/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248111973,"owners_count":21049578,"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":["machine-learning","rust"],"created_at":"2024-07-31T16:01:17.486Z","updated_at":"2025-10-16T16:02:02.415Z","avatar_url":"https://github.com/rust-ml.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# The Rust Machine Learning Book\n\nThis repository contains the source of \"The Rust Machine Learning Book\".\n\n## Purpose\n\nThe aim of this book is to demonstrate how the Rust language can be used for Machine Learning tasks. They encompass classical ML algorithms, like linear regression and KMeans clustering, but also more modern approaches. Most of the classical algorithms are contained in the `rust-ml/linfa` crate and ready to use.\n\n## Audience\n\nThe reader should have a basic knowledge of Rust type-system and linear algebra. A small recap on `rust-ndarray` type system should familiarize the reader with its applications and limitations.\n\n## Requirements\n\nBuilding this book requires [mdBook](https://github.com/rust-lang/mdBook). \n```bash\n$ cargo install mdbook\n```\n\n## Building\nYou can build the book with \n\n```bash\n$ mdbook build\n```\n\nand append\n\n```bash\n$ mdbook build --open\n# \n$ mdbook serve\n```\n\nin order to open it afterwards.\n\nCode samples are contained in the `examples/` directory, and can be built as a group or individually using:\n```bash\n$ cargo build --all\n# or\n$ cargo run --example name_of_algorithm\n```\n\nBy default, all plots will be written to the `target/` directory, so as not to be indexed by git. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-ml%2Fbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frust-ml%2Fbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frust-ml%2Fbook/lists"}