Files
smartcore/src/naive_bayes
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
2024-11-25 11:34:29 -04:00
2024-11-25 11:34:29 -04:00
2024-11-25 11:34:29 -04:00