You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Alex Chang (JIRA)" <ji...@apache.org> on 2019/01/25 00:42:00 UTC

[jira] [Created] (SPARK-26724) Non negative coefficients for LinearRegression

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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org