spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkbrad...@apache.org
Subject spark git commit: [SPARK-9798] [ML] CrossValidatorModel Documentation Improvements
Date Fri, 02 Oct 2015 17:15:06 GMT
Repository: spark
Updated Branches:
  refs/heads/master 2272962eb -> 2a717821b


[SPARK-9798] [ML] CrossValidatorModel Documentation Improvements

Document CrossValidatorModel members: bestModel and avgMetrics

Author: Rerngvit Yanggratoke <rerngvit@kth.se>

Closes #8882 from rerngvit/Spark-9798.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/2a717821
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/2a717821
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/2a717821

Branch: refs/heads/master
Commit: 2a717821bbb026d4d8c43d31b3300721357951c6
Parents: 2272962
Author: Rerngvit Yanggratoke <rerngvit@kth.se>
Authored: Fri Oct 2 10:15:02 2015 -0700
Committer: Joseph K. Bradley <joseph@databricks.com>
Committed: Fri Oct 2 10:15:02 2015 -0700

----------------------------------------------------------------------
 .../main/scala/org/apache/spark/ml/tuning/CrossValidator.scala   | 4 ++++
 1 file changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/2a717821/mllib/src/main/scala/org/apache/spark/ml/tuning/CrossValidator.scala
----------------------------------------------------------------------
diff --git a/mllib/src/main/scala/org/apache/spark/ml/tuning/CrossValidator.scala b/mllib/src/main/scala/org/apache/spark/ml/tuning/CrossValidator.scala
index 0679bfd..820c996 100644
--- a/mllib/src/main/scala/org/apache/spark/ml/tuning/CrossValidator.scala
+++ b/mllib/src/main/scala/org/apache/spark/ml/tuning/CrossValidator.scala
@@ -136,6 +136,10 @@ class CrossValidator(override val uid: String) extends Estimator[CrossValidatorM
 /**
  * :: Experimental ::
  * Model from k-fold cross validation.
+ *
+ * @param bestModel The best model selected from k-fold cross validation.
+ * @param avgMetrics Average cross-validation metrics for each paramMap in [[estimatorParamMaps]],
in the
+ *                   corresponding order.
  */
 @Experimental
 class CrossValidatorModel private[ml] (


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org


Mime
View raw message