tangram_linear

Crates.iotangram_linear
lib.rstangram_linear
version0.7.0
sourcesrc
created_at2021-06-25 19:40:47.811457
updated_at2021-08-17 21:00:06.479074
descriptionTangram makes it easy for programmers to train, deploy, and monitor machine learning models.
homepagehttps://github.com/tangramdotdev/tangram
repositoryhttps://github.com/tangramdotdev/tangram
max_upload_size
id414951
size220,031
David Yamnitsky (nitsky)

documentation

https://docs.rs/tangram

README

Tangram Linear

This crate implements linear machine learning models for regression and classification. There are three model types, [Regressor], [BinaryClassifier], and [MulticlassClassifier]. BinaryClassifier uses the sigmoid activation function, and MulticlassClassifier trains n_classes linear models whose outputs are combined with the softmax function.

To make training faster on multicore processors, we allow simultaneous read/write access to the model parameters from multiple threads. This means each thread will be reading weights partially updated by other threads and the weights it writes may be clobbered by other threads. This makes training nondeterministic, but in practice we observe little variation in the outcome, because there is feedback control: the change in loss is monitored after each epoch, and training terminates when the loss has stabilized.

Commit count: 0

cargo fmt