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

Correct validateAndTransformSchema in GaussianMixture and AFTSurvivalRegression

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.1, 2.2.0
    • Fix Version/s: 2.1.2, 2.2.1, 2.3.0
    • Component/s: MLlib
    • Labels:
      None

      Description

      From user sharp-pixel:

      The line SchemaUtils.appendColumn(schema, $(predictionCol), IntegerType) did not modify the variable schema, hence only the last line had any effect. A temporary variable is used to correctly append the two columns predictionCol and probabilityCol.

        Attachments

          Activity

            People

            • Assignee:
              sharp-pixel Cedric Pelvet
              Reporter:
              sharp-pixel Cedric Pelvet

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment