Linear classifiers group items based on the value of the linear combinations of features.
Within the Rust ecosystem, you can find a few libraries ranging from naive Bayes implementations to support vector machines. These resources can help you get started:
A machine learning library.
A machine learning package for Rust.
The most advanced machine learning library in rust.
Naive Bayes classifier
outbrain/fwumious_wabbit [ repo · ]
Fast logistic regression and field-aware factorization machines in Rust