Skip to content

Releases: cardmagic/classifier

v1.4.4

31 Jul 15:57
bb971a2
Compare
Choose a tag to compare

Release Notes for Classifier 1.4.4

New Features and Enhancements

  1. Fix bug in classifying text with repeated words
    • There was a bug classifying LSI text with repeated words that is now fixed

v1.4.3

31 Jul 15:44
40f3215
Compare
Choose a tag to compare

Release Notes for Classifier 1.4.3

New Features and Enhancements

  1. Fix support for Ruby 2.7
    • Make sure that Ruby 2.7 works

v1.4.2

31 Jul 15:01
d8c758c
Compare
Choose a tag to compare

Release Notes for Classifier 1.4.2

New Features and Enhancements

  1. Fix bug in remove_category Method

  2. Add more unit tests

    • Added unit tests for the remove_category feature

v1.4.1

31 Jul 08:40
17143ab
Compare
Choose a tag to compare

Release Notes for Classifier 1.4.1

New Features and Enhancements

  1. 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
  2. Add more unit tests

    • Added unit tests for the remove_category feature

v1.4.0

31 Jul 08:28
a537321
Compare
Choose a tag to compare

Release Notes for Classifier 1.4.0

New Features and Enhancements

  1. 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]
  2. Include Test Files in Gem Package

Addressing #31

  1. 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.
  2. 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.
  3. 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.