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

Non negative coefficients for LinearRegression

    XMLWordPrintableJSON

Details

    • Question
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.4.0
    • None
    • MLlib
    • 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

            Unassigned Unassigned
            cfcalex Alex Chang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: