Github user jkbradley commented on a diff in the pull request:
https://github.com/apache/spark/pull/9108#discussion_r47721631
--- Diff: mllib/src/main/scala/org/apache/spark/mllib/util/MLUtils.scala ---
@@ -265,6 +265,16 @@ object MLUtils {
*/
@Since("1.0.0")
def kFold[T: ClassTag](rdd: RDD[T], numFolds: Int, seed: Int):
Array[(RDD[T], RDD[T])] = {
+ kFold(rdd, numFolds, seed.toLong)
+ }
+
+ /**
+ * Return a k element array of pairs of RDDs with the first element of
each pair
--- End diff --
I'd just write ```Version of [kFold()] taking a Long seed``` instead of
copying the full doc.
---
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]