Skip to content

v1.4.0

Compare
Choose a tag to compare
@cardmagic cardmagic released this 31 Jul 08:28
· 16 commits to master since this release
a537321

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.