Alex Chang created SPARK-26724:
----------------------------------

             Summary: Non negative coefficients for LinearRegression
                 Key: SPARK-26724
                 URL: https://issues.apache.org/jira/browse/SPARK-26724
             Project: Spark
          Issue Type: Question
          Components: MLlib
    Affects Versions: 2.4.0
            Reporter: Alex Chang


Hi, 

 

For 
[pyspark.ml.regression.LinearRegression|http://spark.apache.org/docs/latest/api/python/pyspark.ml.html?highlight=linearregression#pyspark.ml.regression.LinearRegression],
 is there any approach or API to force coefficients to be non negative?

 

Thanks

Alex



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to