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

Avoid redundant computation in GMM.transform && GLR.transform

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: ML
    • Labels:
      None

      Description

      In SPARK-27944, the computation for output columns with empty name is skipped.

      Now, I find that we can furthermore optimize

      1, GMM.transform by directly obtaining the prediction(double) from its probabilty prediction(vector), like what ProbabilisticClassificationModel and ClassificationModel do.

      2, GLR.transform by obtaining the prediction(double) from its link prediction(double)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                podongfeng zhengruifeng
                Reporter:
                podongfeng zhengruifeng
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: