StatFunctions Helper Object
StatFunctions
is a Scala object that defines the methods that are used for…FIXME
Method | Description | ||
---|---|---|---|
|
|||
|
|||
|
|||
|
|||
|
calculateCov
Method
1 2 3 4 5 |
calculateCov(df: DataFrame, cols: Seq[String]): Double |
calculateCov
…FIXME
Note
|
calculateCov is used when…FIXME
|
crossTabulate
Method
1 2 3 4 5 |
crossTabulate(df: DataFrame, col1: String, col2: String): DataFrame |
crossTabulate
…FIXME
Note
|
crossTabulate is used when…FIXME
|
multipleApproxQuantiles
Method
1 2 3 4 5 6 7 8 9 |
multipleApproxQuantiles( df: DataFrame, cols: Seq[String], probabilities: Seq[Double], relativeError: Double): Seq[Seq[Double]] |
multipleApproxQuantiles
…FIXME
Note
|
multipleApproxQuantiles is used when…FIXME
|
pearsonCorrelation
Method
1 2 3 4 5 |
pearsonCorrelation(df: DataFrame, cols: Seq[String]): Double |
pearsonCorrelation
…FIXME
Note
|
pearsonCorrelation is used when…FIXME
|
Calculating Statistics For Dataset — summary
Method
1 2 3 4 5 |
summary(ds: Dataset[_], statistics: Seq[String]): DataFrame |
summary
…FIXME
Note
|
summary is used exclusively when Dataset.summary action is used.
|