We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e129e06 commit a684ac8Copy full SHA for a684ac8
mllib/src/main/scala/org/apache/spark/ml/stat/Correlation.scala
@@ -62,8 +62,8 @@ object Correlation {
62
*
63
* @note For Spearman, a rank correlation, we need to create an RDD[Double] for each column
64
* and sort it in order to retrieve the ranks and then join the columns back into an RDD[Vector],
65
- * which is fairly costly. Cache the input RDD before calling corr with `method = "spearman"` to
66
- * avoid recomputing the common lineage.
+ * which is fairly costly. Cache the input Dataset before calling corr with `method = "spearman"`
+ * to avoid recomputing the common lineage.
67
*/
68
@Since("2.2.0")
69
def corr(dataset: Dataset[_], column: String, method: String): DataFrame = {
0 commit comments