Found it. In case someone else if looking for this:
cvModel.bestModel.asInstanceOf[org.apache.spark.ml.classification.LogisticRegressionModel].weights
On Tue, Apr 19, 2016 at 1:12 PM, Wei Chen wrote:
> Hi All,
>
> I am using the example of model selection via cross-validation from the
> document
Forgot to mention, I am using 1.5.2 Scala version.
On Tue, Apr 19, 2016 at 1:12 PM, Wei Chen wrote:
> Hi All,
>
> I am using the example of model selection via cross-validation from the
> documentation here: http://spark.apache.org/docs/latest/ml-guide.html.
> After I get the "cvModel", I would
Hi All,
I am using the example of model selection via cross-validation from the
documentation here: http://spark.apache.org/docs/latest/ml-guide.html.
After I get the "cvModel", I would like to see the weights for each feature
for the best logistic regression model. I've been looking at the method