You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Yang <te...@gmail.com> on 2017/01/05 00:13:15 UTC
L1 regularized Logistic regression ?
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
Re: L1 regularized Logistic regression ?
Posted by Yang <te...@gmail.com>.
ah, found it, it's https://www.google.com/search?q=OWLQN
thanks!
On Wed, Jan 4, 2017 at 7:34 PM, J G <jo...@gmail.com> wrote:
> 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 <te...@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
>>
>>
>
Re: L1 regularized Logistic regression ?
Posted by J G <jo...@gmail.com>.
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 <te...@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
>
>