File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
mllib/src/main/scala/org/apache/spark/ml/stat Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,9 @@ abstract class SummaryBuilder {
7070 * val meanDF = dataframe.select(Summarizer.mean($"features"))
7171 * val Row(mean_) = meanDF.first()
7272 * }}}
73+ *
74+ * Note: Currently, the performance of this interface is about 2x~3x slower then using the RDD
75+ * interface.
7376 */
7477@ Since (" 2.3.0" )
7578object Summarizer extends Logging {
@@ -94,6 +97,9 @@ object Summarizer extends Logging {
9497 * @param metrics additional metrics that can be provided.
9598 * @return a builder.
9699 * @throws IllegalArgumentException if one of the metric names is not understood.
100+ *
101+ * Note: Currently, the performance of this interface is about 2x~3x slower then using the RDD
102+ * interface.
97103 */
98104 @ Since (" 2.3.0" )
99105 def metrics (firstMetric : String , metrics : String * ): SummaryBuilder = {
You can’t perform that action at this time.
0 commit comments