Packages

c

org.apache.spark.ml.stat

SummaryBuilder

sealed abstract class SummaryBuilder extends AnyRef

A builder object that provides summary statistics about a given column.

Users should not directly create such builders, but instead use one of the methods in Summarizer.

Annotations
@Since( "2.3.0" )
Source
Summarizer.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SummaryBuilder
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def summary(featuresCol: Column, weightCol: Column): Column

    Returns an aggregate object that contains the summary of the column with the requested metrics.

    Returns an aggregate object that contains the summary of the column with the requested metrics.

    featuresCol

    a column that contains features Vector object.

    weightCol

    a column that contains weight value. Default weight is 1.0.

    returns

    an aggregate column that contains the statistics. The exact content of this structure is determined during the creation of the builder.

    Annotations
    @Since( "2.3.0" )

Concrete Value Members

  1. def summary(featuresCol: Column): Column
    Annotations
    @Since( "2.3.0" )