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