Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: core/search
    • Labels:
      None

      Description

      This is a new Similarity implimention for the contrib/miscellaneous/ package, it provides a Similiarty designed for people who know the "sweetspot" of their data. three major pieces of functionality are included:

      1) a lengthNorm which creates a "platuea" of values.
      2) a baseline tf that provides a fixed value for tf's up to a minimum, at which point it becomes a sqrt curve (this is used by the tf(int) function.
      3) a hyperbolic tf function which is best explained by graphing the equation. this isn't used by default, but is available for subclasses to call from their own tf functions.

      All constants used in all functions are configurable. In the case of lengthNorm, the constants are configurable per field, as well as allowing for defaults for unspecified fields.

      1. ss.patch
        12 kB
        Hoss Man

        Activity

        Hide
        hossman Hoss Man added a comment -

        patch file containing class and test cases

        Show
        hossman Hoss Man added a comment - patch file containing class and test cases
        Hide
        hossman Hoss Man added a comment -

        Commited with some small changes: mainly adding Apache Copyright/License and switching the default value of tf_hyper_base to 1.3d (the old default of Math.E is typically used in hyperbolic tangents, but made little sense in the context of a tf function)

        Show
        hossman Hoss Man added a comment - Commited with some small changes: mainly adding Apache Copyright/License and switching the default value of tf_hyper_base to 1.3d (the old default of Math.E is typically used in hyperbolic tangents, but made little sense in the context of a tf function)

          People

          • Assignee:
            hossman Hoss Man
            Reporter:
            hossman Hoss Man
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development