Go it from a friend - println(model.weights) and println(model.intercept).
--
View this message in context:
http://apache-spark-user-list.1001560.n3.nabble.com/Model-characterization-tp17985p18106.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.
-
Excellent, many thanks. Really appreciate your help.
Sent via the Samsung GALAXY S®4, an AT&T 4G LTE smartphone
Original message From: Xiangrui Meng
Date:11/03/2014 9:04 PM (GMT-08:00)
To: Sameer Tilak Cc:
user@spark.apache.org Subject: Re: Model characterization
We recently added metrics for regression:
https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/evaluation/RegressionMetrics.scala
and you can use
https://github.com/apache/spark/blob/master/mllib/src/main/scala/org/apache/spark/mllib/evaluation/BinaryClassificatio