PackageTrack
Sign in Get early access

github.com/jbrukh/bayesian

v1.1.0 #2778 most downloaded on Go modules jbrukh/bayesian

What this package is like to depend on

Last release 8 months ago

07 Dec 2025

Release timing varies

gaps range from 5 weeks to 3.1 years

Most releases are documented

notes for 3 of 4 stable releases

Nothing withdrawn

no release was ever pulled

15 years old

22 releases · first in 2011

4 releases in the last 12 months

see the full history below

Release timeline

22 releases · Dec 2011 to Dec 2025
2012 2014 2016 2018 2020 2022 2024 2026
Release Pre-release

Releases

latest 22
  1. v1.1.0 07 Dec 2025
    Release notes
    • Add AddClass method to add new classes after classifier creation
    • Add RWMutex to protect Classes and datas from concurrent access
    • Add locks to all public methods for thread safety:
      • RLock for read operations (LogScores, ProbScores, etc.)
      • Lock for write operations (Learn, Observe, AddClass, etc.)
    • Add ErrClassExists and ErrAlreadyConverted error types
    • Add comprehensive tests for AddClass functionality
    • Add concurrent access tests to verify thread safety

    All methods are now safe for concurrent use.

    🤖 Generated with Claude Code

    Co-Authored-By: Claude Opus 4.5 [email protected]

    Open source →
  2. v1.0.2 07 Dec 2025

    Nothing published for this version

  3. v1.0.1 07 Dec 2025
    Release notes

    Improvements:

    • Implement Laplace smoothing for better numerical precision
    • Extract common constructor logic (reduced code duplication)
    • Fix WriteClassesToFile to properly propagate errors
    • Add O_TRUNC flag to file writes to prevent stale data

    Test coverage: 99.5%

    🤖 Generated with Claude Code

    Open source →
  4. v1.0.0 07 Dec 2025
    Release notes

    This release modernizes the bayesian library for modern Go:

    • New Classify, ClassifyProb, ClassifySafe methods that return Class directly
      instead of an index (addresses #15)

    • Added go.mod with Go 1.22 minimum version

    • Added GitHub Actions CI (tests on Go 1.22 and 1.23)

    • 100% test coverage

    • Renamed WriteTo to WriteGob for clarity

    • Fixed variadic argument forwarding in test helper

    • Fixed typos in comments

    • WriteTo method renamed to WriteGob

    • Minimum Go version is now 1.22

    Full documentation: https://pkg.go.dev/github.com/jbrukh/bayesian

    Open source →
  5. v0.0.0-20231117143245-13ae6f916c7a 17 Nov 2023 pre-release

    Nothing published for this version

  6. v0.0.0-20230423142728-ab66f8feaf97 23 Apr 2023 pre-release

    Nothing published for this version

  7. v0.0.0-20200318221351-d726b684ca4a 18 Mar 2020 pre-release

    Nothing published for this version

  8. v0.0.0-20190218043818-13a316171413 18 Feb 2019 pre-release

    Nothing published for this version

  9. v0.0.0-20161210175230-bf3f261f9a9c 10 Dec 2016 pre-release

    Nothing published for this version

  10. v0.0.0-20160824211235-b89451d102de 24 Aug 2016 pre-release

    Nothing published for this version

  11. v0.0.0-20160718110437-851ca1ae0cd8 18 Jul 2016 pre-release

    Nothing published for this version

  12. v0.0.0-20160602135859-a65fd1effddb 02 Jun 2016 pre-release

    Nothing published for this version

  13. v0.0.0-20160601224229-f708d2911539 01 Jun 2016 pre-release

    Nothing published for this version

  14. v0.0.0-20160323013911-bb8c7464612e 23 Mar 2016 pre-release

    Nothing published for this version

  15. v0.0.0-20160126204938-ed08a9b775ac 26 Jan 2016 pre-release

    Nothing published for this version

  16. v0.0.0-20151214144356-35eb93528ee2 14 Dec 2015 pre-release

    Nothing published for this version

  17. v0.0.0-20150420142506-78b283ad3339 20 Apr 2015 pre-release

    Nothing published for this version

  18. v0.0.0-20140924173105-39c8be598dcc 24 Sep 2014 pre-release

    Nothing published for this version

  19. v0.0.0-20131024173840-258140fc6957 24 Oct 2013 pre-release

    Nothing published for this version

  20. v0.0.0-20130312140320-f13a90b89eba 12 Mar 2013 pre-release

    Nothing published for this version

  21. v0.0.0-20111202215358-2177c82d4d5a 02 Dec 2011 pre-release

    Nothing published for this version

  22. v0.0.0-20111201032251-0ea544e8269c 01 Dec 2011 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive