Wnb

Latest version: v0.3.1

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.2.3

What's Changed
* Package restructure, update dependencies for numpy, add pyproject.toml by msamsami in https://github.com/msamsami/weighted-naive-bayes/pull/29
* Update version (v0.2.3) by msamsami in https://github.com/msamsami/weighted-naive-bayes/pull/30


**Full Changelog**: https://github.com/msamsami/weighted-naive-bayes/compare/v0.2.2...v0.2.3

0.2.2

* Add performance benchmarking scripts by msamsami in https://github.com/msamsami/weighted-naive-bayes/pull/23
* Add GitHub workflow action to run tests on PR by msamsami in https://github.com/msamsami/weighted-naive-bayes/pull/25
* Ignore _pytest_ warnings
* Add GitHub workflow action to check code format on PR by msamsami in https://github.com/msamsami/weighted-naive-bayes/pull/26
* Use _black_ v24 to reformat the code
* Use an internal method to get the distribution object in `GeneralNB` by msamsami in https://github.com/msamsami/weighted-naive-bayes/pull/24
* Update README badges, starting section, and _wnb_ logo by msamsami in https://github.com/msamsami/weighted-naive-bayes/pull/27
* Update requirements, update supported Python versions (drop 3.7, add support for 3.12) by msamsami in https://github.com/msamsami/weighted-naive-bayes/pull/28


**Full Changelog**: https://github.com/msamsami/weighted-naive-bayes/compare/v0.2.1...v0.2.2

0.2.1

- Adhere to sklearn's docstring and type hint format
- Add an internal typing file for type hints
- Use a case-insensitive enum meta class for enums
- Add setup.cfg file

0.2.0

- Add unit tests for discrete distributions
- Fix bug in the `pmf` method of categorical and poisson distributions
- Fix issues in dependencies' versions
- Add example scripts for using `GaussianWNB` and `GeneralNB`

0.1.20

- Fix bug in estimating `LognormalDist` parameters from data
- Fix bug in calculating `LognormalDist` PDF
- Add unit tests for the _dist_ module with the following items:
* Test correctness of `name` attribute of distributions
* Test correctness of `_support` attribute of distributions
* Test `NormalDist.pdf` method against `scipy.stats.norm.pdf` method
* Test `LognormalDist.pdf` method against `scipy.stats.lognorm.pdf` method
* Test out-of-support warning of `LognormalDist.pdf` method
* Test `ExponentialDist.pdf` method against `scipy.stats.expon.pdf` method
* Test out-of-support warning of `ExponentialDist.pdf` method
* Test `UniformDist.pdf` method against `scipy.stats.uniform.pdf` method
* Test out-of-support warning of `UniformDist.pdf` method
* Test `ParetoDist.pdf` method against `scipy.stats.pareto.pdf` method
* Test out-of-support warning of `ParetoDist.pdf` method
* Test `GammaDist.pdf` method against `scipy.stats.gamma.pdf` method
* Test out-of-support warning of `GammaDist.pdf` method
* Test `BetaDist.pdf` method against `scipy.stats.beta.pdf` method
* Test out-of-support warning of `BetaDist.pdf` method
* Test `ChiSquaredDist.pdf` method against `scipy.stats.chi2.pdf` method
* Test out-of-support warning of `ChiSquaredDist.pdf` method

0.1.19

- Add support for Beta distribution
- Add support for Chi-squared distribution

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.