Lorenzo c8ec8fec00 Fix #245: return error for NaN in naive bayes (#246)
* Fix #245: return error for NaN in naive bayes
* Implement error handling for NaN values in NBayes predict:
* general behaviour has been kept unchanged according to original tests in `mod.rs`
* aka: error is returned only if all the predicted probabilities are NaN
* Add tests
* Add test with static values
* Add test for numerical stability with numpy
2025-01-27 23:17:55 +00:00
2024-11-25 11:34:29 -04:00
2022-11-08 15:22:34 +00:00
2024-03-04 08:51:27 -05:00
2022-11-08 15:22:34 +00:00
2023-03-20 11:54:10 +00:00
2022-11-08 15:22:34 +00:00

smartcore

User guide | API | Notebooks


Machine Learning in Rust


CI

To start getting familiar with the new smartcore v0.3 API, there is now available a Jupyter Notebook environment repository. Please see instructions there, contributions welcome see CONTRIBUTING.

Description
A comprehensive library for machine learning and numerical computing. Apply Machine Learning with Rust leveraging first principles.
Readme Apache-2.0 2.9 MiB
Languages
Rust 100%