Source Code for 'Practical Machine Learning with Rust' by Joydeep Bhattacharjee

Overview

Apress Source Code

This repository accompanies Practical Machine Learning with Rust by Joydeep Bhattacharjee (Apress, 2020).

Cover image

Download the files as a zip using the green button, or clone the repository to your machine using Git.

Releases

Release v1.0 corresponds to the code in the published book, without corrections or updates.

Contributions

See the file Contributing.md for more information on how you can contribute to this repository.

You might also like...
Machine learning Neural Network in Rust

vinyana vinyana - stands for mind in pali language. Goal To implement a simple Neural Network Library in order to understand the maths behind it. This

An example of using TensorFlow rust bindings to serve trained machine learning models via Actix Web
An example of using TensorFlow rust bindings to serve trained machine learning models via Actix Web

Serving TensorFlow with Actix-Web This repository gives an example of training a machine learning model using TensorFlow2.0 Keras in python, exporting

๐Ÿ† A ranked list of awesome machine learning Rust libraries.

best-of-ml-rust ๐Ÿ† A ranked list of awesome machine learning Rust libraries. This curated list contains 180 awesome open-source projects with a total

Machine learning crate in Rust
Machine learning crate in Rust

DeepRust - Machine learning in Rust Vision To create a deeplearning crate in rust aiming to create a great experience for ML researchers & developers

BudouX-rs is a rust port of BudouX (machine learning powered line break organizer tool).

BudouX-rs BudouX-rs is a rust port of BudouX (machine learning powered line break organizer tool). Note: This project contains the deliverables of the

Mars is a rust machine learning library. [Goal is to make Simple as possible]
Mars is a rust machine learning library. [Goal is to make Simple as possible]

Mars Mars (ma-rs) is an blazingly fast rust machine learning library. Simple and Powerful! ๐Ÿฆ€ ๐Ÿš€ Contribution: Feel free to build this project. This i

A machine learning library in Rust from scratch.

Machine Learning in Rust Learn the Rust programming language through implementing classic machine learning algorithms. This project is self-completed

Xaynet represents an agnostic Federated Machine Learning framework to build privacy-preserving AI applications.
Xaynet represents an agnostic Federated Machine Learning framework to build privacy-preserving AI applications.

xaynet Xaynet: Train on the Edge with Federated Learning Want a framework that supports federated learning on the edge, in desktop browsers, integrate

The Hacker's Machine Learning Engine

Juice This is the workspace project for juice - machine learning frameworks for hackers coaster - underlying math abstraction coaster-nn coaster-blas

Comments
  • Problem compiling Ch. 6's face-detection-tf project

    Problem compiling Ch. 6's face-detection-tf project

    Cannot compile: practical-machine-learning-w-rust/chapter6/face-detection-tf

    $ cargo run Compiling imageproc v0.18.0 error[E0034]: multiple applicable items in scope --> /home/px/.cargo/registry/src/github.com-1ecc6299db9ec823/imageproc-0.18.0/src/hog.rs:440:35 | 440 | let intensity = ::clamp(hist[bucket]); | ^^^^^ multiple clamp found | = note: candidate #1 is defined in an impl of the trait Ord for the type u8 note: candidate #2 is defined in the trait Clamp --> /home/px/.cargo/registry/src/github.com-1ecc6299db9ec823/imageproc-0.18.0/src/definitions.rs:68:5 | 68 | fn clamp(x: T) -> Self; | ^^^^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function for candidate #1 | 440 | let intensity = ::clamp(hist[bucket]); | ~~~~~~~~~~~~~ help: disambiguate the associated function for candidate #2 | 440 | let intensity = ::clamp(hist[bucket]); | ~~~~~~~~~~~~~~~

    error[E0034]: multiple applicable items in scope --> /home/px/.cargo/registry/src/github.com-1ecc6299db9ec823/imageproc-0.18.0/src/hog.rs:444:35 | 444 | let intensity = ::clamp(hist[bucket]); | ^^^^^ multiple clamp found | = note: candidate #1 is defined in an impl of the trait Ord for the type u8 note: candidate #2 is defined in the trait Clamp --> /home/px/.cargo/registry/src/github.com-1ecc6299db9ec823/imageproc-0.18.0/src/definitions.rs:68:5 | 68 | fn clamp(x: T) -> Self; | ^^^^^^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function for candidate #1 | 444 | let intensity = ::clamp(hist[bucket]); | ~~~~~~~~~~~~~ help: disambiguate the associated function for candidate #2 | 444 | let intensity = ::clamp(hist[bucket]); | ~~~~~~~~~~~~~~~

    For more information about this error, try rustc --explain E0034. error: could not compile imageproc due to 2 previous errors

    How do I disambiguate per info from E0034? Type u8 is std::u8, so I'm not sure why it's related to a trait issue that needs to be disambiguated. I'm new to Rust, so hoping to get a pointer or help on this. Seems like there's a bug in the code. Thank you.

    opened by pjkennedy 0
Owner
Apress
Source code for books published by Apress. For more information go to www.apress.com/source-code.
Apress
A Rust machine learning framework.

Linfa linfa (Italian) / sap (English): The vital circulating fluid of a plant. linfa aims to provide a comprehensive toolkit to build Machine Learning

Rust-ML 2.2k Jan 2, 2023
Machine Learning library for Rust

rusty-machine This library is no longer actively maintained. The crate is currently on version 0.5.4. Read the API Documentation to learn more. And he

James Lucas 1.2k Dec 31, 2022
Machine learning crate for Rust

rustlearn A machine learning package for Rust. For full usage details, see the API documentation. Introduction This crate contains reasonably effectiv

Maciej Kula 547 Dec 28, 2022
Machine learning in Rust.

Rustml Rustml is a library for doing machine learning in Rust. The documentation of the project with a descprition of the modules can be found here. F

null 60 Dec 15, 2022
Rust based Cross-GPU Machine Learning

HAL : Hyper Adaptive Learning Rust based Cross-GPU Machine Learning. Why Rust? This project is for those that miss strongly typed compiled languages.

Jason Ramapuram 83 Dec 20, 2022
Machine Learning Library for Rust

autograph Machine Learning Library for Rust undergoing maintenance Features Portable accelerated compute Run SPIR-V shaders on GPU's that support Vulk

null 223 Jan 1, 2023
Fwumious Wabbit, fast on-line machine learning toolkit written in Rust

Fwumious Wabbit is a very fast machine learning tool built with Rust inspired by and partially compatible with Vowpal Wabbit (much love! read more abo

Outbrain 115 Dec 9, 2022
A Machine Learning Framework for High Performance written in Rust

polarlight polarlight is a machine learning framework for high performance written in Rust. Key Features TBA Quick Start TBA How To Contribute Contrib

Chris Ohk 25 Aug 23, 2022
Example of Rust API for Machine Learning

rust-machine-learning-api-example Example of Rust API for Machine Learning API example that uses resnet224 to infer images received in base64 and retu

vaaaaanquish 16 Oct 3, 2022
High-level non-blocking Deno bindings to the rust-bert machine learning crate.

bertml High-level non-blocking Deno bindings to the rust-bert machine learning crate. Guide Introduction The ModelManager class manages the FFI bindin

Carter Snook 14 Dec 15, 2022