Uploaded image for project: 'Hama'
  1. Hama
  2. HAMA-668

Fix possible number instabilities in LogisticRegression CF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.6.0
    • machine learning
    • None

    Description

      In calculateCostForItem the log of several calculations may run in the special cases of the logarithm:

      • If the argument is NaN or less than zero, then the result is NaN.
      • If the argument is positive infinity, then the result is positive infinity.
      • If the argument is positive zero or negative zero, then the result is negative infinity.
        We should guard them.

      Attachments

        Activity

          People

            teofili Tommaso Teofili
            teofili Tommaso Teofili
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: