Re: Setting initial weights of ml.classification.LogisticRegression similar to mllib.classification.LogisticRegressionWithLBFGS

2017-07-20 Thread Nick Pentreath
weightCol sets the weight for each individual row of data (training example). It does not set the initial coefficients. On Thu, 20 Jul 2017 at 10:22 Aseem Bansal wrote: > Hi > > I had asked about this somewhere else too and was told that weightCol > method does that > > On

Re: Setting initial weights of ml.classification.LogisticRegression similar to mllib.classification.LogisticRegressionWithLBFGS

2017-07-20 Thread Aseem Bansal
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 wrote: > Currently it's not supported, but is on the roadmap: see > https://issues.apache.org/jira/browse/SPARK-13025 > > The

Re: Setting initial weights of ml.classification.LogisticRegression similar to mllib.classification.LogisticRegressionWithLBFGS

2017-07-20 Thread Nick Pentreath
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

Setting initial weights of ml.classification.LogisticRegression similar to mllib.classification.LogisticRegressionWithLBFGS

2017-07-20 Thread Aseem Bansal
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