Forgot to mention, I am using 1.5.2 Scala version. On Tue, Apr 19, 2016 at 1:12 PM, Wei Chen <wei.chen.ri...@gmail.com> 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 like to see the weights for each feature > for the best logistic regression model. I've been looking at the methods > and attributes of this "cvModel" and "cvModel.bestModel" and still can't > figure out where these weights are referred. It must be somewhere since we > can use "cvModel" to transform a new dataframe. Your help is much > appreciated. > > > Thank you, > Wei > -- Wei Chen, Ph.D. Astronomer and Data Scientist Phone: (832)646-7124 Email: wei.chen.ri...@gmail.com LinkedIn: https://www.linkedin.com/in/weichen1984