spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From J G <jonrgr...@gmail.com>
Subject Re: L1 regularized Logistic regression ?
Date Thu, 05 Jan 2017 03:34:57 GMT
I haven't run this, but there is an elasticnetparam for Logistic Regression
here:
https://spark.apache.org/docs/2.0.2/ml-classification-regression.html#logistic-regression


You'd set elasticnetparam = 1 for Lasso

On Wed, Jan 4, 2017 at 7:13 PM, Yang <teddyyyy123@gmail.com> wrote:

> does mllib support this?
>
> I do see Lasso impl here https://github.com/apache/spark/blob/master/
> mllib/src/main/scala/org/apache/spark/mllib/regression/Lasso.scala
>
> if it supports LR , could you please show me a link? what algorithm does
> it use?
>
> thanks
>
>

Mime
View raw message