* test: run tests also in wasm targets
* fix: install rand with wasm-bindgen por wasm targets
* fix: use actual usize size to access buffer.
* fix: do not run functions that create files in wasm.
* test: do not run in wasm test that panics.
Co-authored-by: Luis Moreno <morenol@users.noreply.github.com>
* feat: Add getters for GaussianNB
* Add classes getter to BernoulliNB
Add classes getter to CategoricalNB
Add classes getter to MultinomialNB
* Add feature_log_prob getter to MultinomialNB
* Add class_count to NB structs
* Add n_features getter for NB
* Add feature_count to MultinomialNB and BernoulliNB
* Add n_categories to CategoricalNB
* Implement feature_log_prob and category_count getter for CategoricalNB
* Implement feature_log_prob for BernoulliNB