Hi I had asked about this somewhere else too and was told that weightCol method does that
On Thu, Jul 20, 2017 at 12:50 PM, Nick Pentreath <nick.pentre...@gmail.com> wrote: > Currently it's not supported, but is on the roadmap: see > https://issues.apache.org/jira/browse/SPARK-13025 > > The most recent attempt is to start with simple linear regression, as > here: https://issues.apache.org/jira/browse/SPARK-21386 > > > On Thu, 20 Jul 2017 at 08:36 Aseem Bansal <asmbans...@gmail.com> wrote: > >> We were able to set initial weights on https://spark.apache.org/ >> docs/2.1.0/api/scala/index.html#org.apache.spark.mllib.classification. >> LogisticRegressionWithLBFGS >> >> How can we set the initial weights on https://spark.apache.org/ >> docs/2.2.0/api/scala/index.html#org.apache.spark.ml.classification. >> LogisticRegression similar to above >> >> Trying to migrate some code from mllib version to the ml version >> >