Github user MLnick commented on a diff in the pull request:
https://github.com/apache/spark/pull/13894#discussion_r69281183
--- Diff:
mllib/src/main/scala/org/apache/spark/ml/tuning/CrossValidator.scala ---
@@ -56,7 +56,10 @@ private[ml] trait CrossValidatorParams extends
ValidatorParams {
/**
* :: Experimental ::
- * K-fold cross validation.
+ * CrossValidator begins by splitting the dataset into a set of
non-overlapping randomly
+ * partitioned folds which are used as separate training and test datasets
e.g., with k=3 folds,
+ * CrossValidator will generate 3 (training, test) dataset pairs, each of
which uses 2/3 of
+ * the data for training and 1/3 for testing. Each fold is used in the
testing set exactly once.
--- End diff --
"used in the testing set" -> "used as the test set"
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]