A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://api-docs.databricks.com/python/pyspark/latest/api/pyspark.ml.stat.SummaryBuilder.html below:

SummaryBuilder — PySpark master documentation

SummaryBuilder¶
class pyspark.ml.stat.SummaryBuilder(jSummaryBuilder: JavaObject)¶

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 pyspark.ml.stat.Summarizer

Methods

summary(featuresCol[, weightCol])

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

Methods Documentation

summary(featuresCol: pyspark.sql.column.Column, weightCol: Optional[pyspark.sql.column.Column] = None) → pyspark.sql.column.Column¶

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

Parameters
featuresColstr

a column that contains features Vector object.

weightColstr, optional

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

Returns
pyspark.sql.Column

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4