spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From NinjaYali <yalivio...@gmail.com>
Subject Using Logistic regression with SGD in Spark ML
Date Fri, 12 Jan 2018 21:23:39 GMT
Hi All,

I am working on a logistic regression model in spark.ml, and we utilize
org.apache.spark.ml.classification.LogisticRegression. After looking into
the code and doc, it seems like it does not contain SGD as its optimizer.
https://spark.apache.org/docs/2.2.0/api/java/org/apache/spark/ml/classification/LogisticRegression.html

 I have already tried using L-BFGS and want to run SGD as a comparator. I am
wondering whether it is possible to do this in spark.ml framework. If so,
can anyone share some sample code with me for implementing SGD? Thank you!






--
Sent from: http://apache-spark-user-list.1001560.n3.nabble.com/

---------------------------------------------------------------------
To unsubscribe e-mail: user-unsubscribe@spark.apache.org


Mime
View raw message