You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Sean Owen <sr...@gmail.com> on 2020/09/22 12:10:43 UTC
Re: 【Spark ML】How to get access of the MLlib's LogisticRegressionWithSGD after 3.0.0?
-dev
See the migration guide:
https://spark.apache.org/docs/3.0.0/ml-migration-guide.html
Use ml.LogisticRegression, which should still let you use SGD
On Tue, Sep 22, 2020 at 12:54 AM Lyx <11...@qq.com> wrote:
>
> Hi,
> I have updated my Spark to the version of 3.0.0,
> and it seems that the LogisticRegressionWithSGD's constructor is private within the mllib package,
> So i can't initialize an instance of this class.
>
> How can i still use this class rather than switch to the LogisticRegressionWithLBFGS ?
>
---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org