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

Non negative coefficients for LinearRegression

    XMLWordPrintableJSON

    Details

    • Type: Question
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.4.0
    • Fix Version/s: None
    • Component/s: MLlib
    • Labels:
      None

      Description

      Hi, 

       

      For pyspark.ml.regression.LinearRegression, is there any approach or API to force coefficients to be non negative?

       

      Thanks

      Alex

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cfcalex Alex Chang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: