public abstract class SummaryBuilder
extends Object
Users should not directly create such builders, but instead use one of the methods in
Summarizer
.
Constructor and Description |
---|
SummaryBuilder() |
Modifier and Type | Method and Description |
---|---|
Column |
summary(Column featuresCol) |
abstract Column |
summary(Column featuresCol,
Column weightCol)
Returns an aggregate object that contains the summary of the column with the requested metrics.
|
public abstract Column summary(Column featuresCol, Column weightCol)
featuresCol
- a column that contains features Vector object.weightCol
- a column that contains weight value. Default weight is 1.0.