Releases: cardmagic/classifier
Releases · cardmagic/classifier
v1.4.4
v1.4.3
v1.4.2
v1.4.1
Release Notes for Classifier 1.4.1
New Features and Enhancements
-
Add
remove_category
Method- A new
remove_category
method has been added to the Bayes class. The changes aim to provide users with more control over the Bayesian classifier by allowing them to remove categories. This feature can be useful in scenarios where categories become obsolete or need to be restructured. PR: #39 Closes: #12
- A new
-
Add more unit tests
- Added unit tests for the remove_category feature
v1.4.0
Release Notes for Classifier 1.4.0
New Features and Enhancements
-
Add
classify_with_confidence
Method- A new
classify_with_confidence
method has been added to the LSI class. This method not only returns the classification of a document but also provides a confidence score for the classification.
category, confidence = lsi.classify_with_confidence("This text is also about dogs!") # returns => [:dog, 1.0]
- A new
-
Include Test Files in Gem Package
Addressing #31
-
Update Ruby Version Matrix in CI Workflow
- The Ruby version matrix in the GitHub Actions workflow has been updated. Ruby 3.3 and 3.4 have been replaced with the
head
version to ensure compatibility with the latest Ruby features and changes.
- The Ruby version matrix in the GitHub Actions workflow has been updated. Ruby 3.3 and 3.4 have been replaced with the
-
Refactor LSI Class Methods for Improved Readability and Correctness
- Several methods in the LSI class have been refactored to improve readability and correctness. This includes adding parentheses to method calls, replacing deprecated methods, and enhancing the internal logic.
-
Fix Many Outstanding Issues and Cleanup Code
- Various outstanding issues have been fixed, and the code has been cleaned up to improve performance and readability. This includes updating dependencies, refactoring methods, and improving the coding style.