case classTop(cover: Double, allOther: Boolean) extends Transform with Product with Serializable
For distinct values of the column, find top values
by a quantity that cumulatively cover a given percentage
of this quantity. For example, find the top DMAs that
represent 99% of cookies, or find top sites that
are responsible for 90% of impressions.
cover
cumulative cover percentage
allOther
include feature for all other values
Linear Supertypes
Serializable, Serializable, Product, Equals, Transform, AnyRef, Any
For distinct values of the column, find top values by a quantity that cumulatively cover a given percentage of this quantity. For example, find the top DMAs that represent 99% of cookies, or find top sites that are responsible for 90% of impressions.
cumulative cover percentage
include feature for all other values