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 <teddyyyy...@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
>
>

Reply via email to