Uploaded image for project: 'Terrier Core'
  1. Terrier Core
  2. TR-341

hyper-geometric models (DPH, DLH and DLH13) produces Not a Number (NaN)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1
    • Component/s: .matching
    • Labels:
      None

      Description

      When tf equals docLength, relative frequency of 1 produces Not a Number (NaN) or Negative Infinity as scores in hyper-geometric models (DPH, DLH and DLH13).
      We should prevent this situation.

        Attachments

          Activity

            People

            • Assignee:
              craigm Craig Macdonald
              Reporter:
              iorixxx Ahmet Arslan
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: