Skip to content

Commit

Permalink
addressed comments v0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
brkyvz committed May 2, 2015
1 parent a682d06 commit 4fe693b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import org.apache.spark.sql.execution.stat._
final class DataFrameStatFunctions private[sql](df: DataFrame) {

/**
* Calculate the correlation of two columns of a DataFrame. Currently only supports the Pearson
* Calculates the correlation of two columns of a DataFrame. Currently only supports the Pearson
* Correlation Coefficient. For Spearman Correlation, consider using RDD methods found in
* MLlib's Statistics.
*
Expand All @@ -43,7 +43,7 @@ final class DataFrameStatFunctions private[sql](df: DataFrame) {
}

/**
* Java Friendly implementation to calculate the Pearson correlation coefficient of two columns.
* Calculates the Pearson Correlation Coefficient of two columns of a DataFrame.
*
* @param col1 the name of the column
* @param col2 the name of the column to calculate the correlation against
Expand Down

0 comments on commit 4fe693b

Please sign in to comment.