Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-18062

ProbabilisticClassificationModel.normalizeToProbabilitiesInPlace should return probabilities when given all-0 vector

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • None
    • None
    • ML
    • None

    Description

      ProbabilisticClassificationModel.normalizeToProbabilitiesInPlace returns a vector of all-0 when given a rawPrediction vector of all-0. It should return a valid probability vector with the uniform distribution.

      Note: This will be a behavior change but it should be very minor and affect few if any users. But we should note it in release notes.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              josephkb Joseph K. Bradley
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: