Skip to content

Releases: msamsami/wnb

v0.8.0

13 Feb 17:40
9d028a6
Compare
Choose a tag to compare

What's Changed

  • feat: add support for laplace distribution by @msamsami in #47
  • feat: add docstring examples, improve error weights and class prior initialization by @msamsami in #48
  • feat: add var_smoothing parameter to GaussianWNB by @msamsami in #49
  • fix: make distributions param positional-or-keyword in GeneralNB by @msamsami in #50

Full Changelog: v0.7.0...v0.8.0


🔧 GeneralNB's distributions parameter is now positional-or-keyword, meaning that both styles below work:

clf = GeneralNB([D.NORMAL, D.POISSON])
clf = GeneralNB(distributions=[D.NORMAL, D.POISSON])

v0.7.0

31 Jan 14:47
7abbf3f
Compare
Choose a tag to compare

What's Changed

  • feat: add parameter constraints and validations, add _fit_context decorator by @msamsami in #44
  • feat: add support for specifying distributions as a list of tuples by @msamsami in #45
  • doc: minor update in getting started section of RAEDME by @msamsami in #46

🎉 Now you specify GeneralNB's distributions as a list of tuples:

from wnb import GeneralNB, Distribution as D

gnb = GeneralNB(
    distributions=[
        (D.NORMAL, "col1"),
        (D.BERNOULLI, "col2"),
        (D.EXPONENTIAL, ["col3", "col4"])
    ]
)

Full Changelog: v0.6.0...v0.7.0

v0.6.0

19 Jan 02:44
45e174b
Compare
Choose a tag to compare

What's Changed

  • feat: refactor GeneralNB and GaussianWNB, improve validation, and enhance scikit-learn compatibility by @msamsami in #43

Full Changelog: v0.5.1...v0.6.0

v0.5.1

17 Jan 15:03
2770e16
Compare
Choose a tag to compare

What's Changed

  • patch: use uv for package management, refactor github workflows, fix bug in handling complex arrays by @msamsami in #42

Full Changelog: v0.5.0...v0.5.1

v0.5.0

16 Jan 13:12
504f7b5
Compare
Choose a tag to compare

What's Changed

  • feat: add var_smoothing parameter to GeneralNB, add pre-support for scikit-learn 1.7 by @msamsami in #41

Full Changelog: v0.4.0...v0.5.0

v0.4.0

25 Dec 10:03
9455be8
Compare
Choose a tag to compare

What's Changed

  • maint: fix build workflow by @msamsami in #38
  • fix: update build badge in README by @msamsami in #39
  • maint: add support for python 3.13, numpy 2, and scikit-learn 1.6 by @msamsami in #40

Full Changelog: v0.3.1...v0.4.0

v0.3.1

28 Oct 19:30
9703a3a
Compare
Choose a tag to compare

What's Changed

  • maint: improve type hints, update GitHub workflows by @msamsami in #37

Full Changelog: v0.3.0...v0.3.1

v0.3.0

22 Sep 08:31
f2e6657
Compare
Choose a tag to compare

What's Changed

  • patch: add new sub-package wnb.stats to keep distribution-related modules by @msamsami in #36

Full Changelog: v0.2.7...v0.3.0

v0.2.7

24 Aug 04:46
2e17f79
Compare
Choose a tag to compare

What's Changed

  • maint: pre-commit configs, script names, end of files, black version, README by @msamsami in #35

Full Changelog: v0.2.6...v0.2.7

v0.2.6

06 Aug 10:02
3701e91
Compare
Choose a tag to compare

What's Changed

  • maint: fix class attributes, reformat the code by @msamsami in #34

Full Changelog: v0.2.5...v0.2.6