Compute correlation matrix
Usage
ml_corr(x, columns = NULL, method = c("pearson", "spearman"))Examples
if (FALSE) { # \dontrun{
sc <- spark_connect(master = "local")
iris_tbl <- sdf_copy_to(sc, iris, name = "iris_tbl", overwrite = TRUE)
features <- c("Petal_Width", "Petal_Length", "Sepal_Length", "Sepal_Width")
ml_corr(iris_tbl, columns = features, method = "pearson")
} # }