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

Correct validateAndTransformSchema in GaussianMixture and AFTSurvivalRegression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.1, 2.2.0
    • 2.1.2, 2.2.1, 2.3.0
    • MLlib
    • 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

        Issue Links

          Activity

            People

              sharp-pixel Cedric Pelvet
              sharp-pixel Cedric Pelvet
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: