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

LinearRegressionModel uses only default parameters if yStd is 0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0
    • ML
    • None

    Description

      In the (rare) case when yStd is 0 in LinearRegression, parameters are not copied immediately to the created LinearRegressionModel instance. But they should (as in all other cases), because currently only the default column names are used in and returned by model.findSummaryModelAndPredictionCol(), which leads to schema validation errors.

      The fix is two lines and should not be hard to check & apply.

      Attachments

        Issue Links

          Activity

            People

              yanboliang Yanbo Liang
              shkdee Louis Traynard
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 5m
                  5m
                  Remaining:
                  Remaining Estimate - 5m
                  5m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified