Packages

class AggregateBalanceMeasure extends Transformer with DataBalanceParams with ComplexParamsWritable with Wrappable with BasicLogging

This transformer computes a set of aggregated balance measures that represents how balanced the given dataframe is along the given sensitive features.

The output is a dataframe that contains one column:

  • A struct containing measure names and their values showing higher notions of inequality. The following measures are computed:
    • Atkinson Index - https://en.wikipedia.org/wiki/Atkinson_index
    • Theil Index (L and T) - https://en.wikipedia.org/wiki/Theil_index

The output dataframe contains one row.

Annotations
@Experimental()
Linear Supertypes
BasicLogging, Wrappable, DotnetWrappable, RWrappable, PythonWrappable, BaseWrappable, ComplexParamsWritable, MLWritable, DataBalanceParams, HasOutputCol, Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AggregateBalanceMeasure
  2. BasicLogging
  3. Wrappable
  4. DotnetWrappable
  5. RWrappable
  6. PythonWrappable
  7. BaseWrappable
  8. ComplexParamsWritable
  9. MLWritable
  10. DataBalanceParams
  11. HasOutputCol
  12. Transformer
  13. PipelineStage
  14. Logging
  15. Params
  16. Serializable
  17. Serializable
  18. Identifiable
  19. AnyRef
  20. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AggregateBalanceMeasure()
  2. new AggregateBalanceMeasure(uid: String)

    uid

    The unique ID.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def $[T](param: Param[T]): T
    Attributes
    protected
    Definition Classes
    Params
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. lazy val classNameHelper: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  7. final def clear(param: Param[_]): AggregateBalanceMeasure.this.type
    Definition Classes
    Params
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  10. def copy(extra: ParamMap): Transformer
    Definition Classes
    AggregateBalanceMeasure → Transformer → PipelineStage → Params
  11. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  12. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  13. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  14. def dotnetAdditionalMethods: String
    Definition Classes
    DotnetWrappable
  15. def dotnetClass(): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  16. lazy val dotnetClassName: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  17. lazy val dotnetClassNameString: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  18. lazy val dotnetClassWrapperName: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  19. lazy val dotnetCopyrightLines: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  20. def dotnetExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  21. def dotnetExtraMethods: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  22. lazy val dotnetInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  23. def dotnetMLReadWriteMethods: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  24. lazy val dotnetNamespace: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  25. lazy val dotnetObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  26. def dotnetParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  27. def dotnetParamGetters: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  28. def dotnetParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  29. def dotnetParamSetters: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  30. def dotnetWrapAsTypeMethod: String
    Attributes
    protected
    Definition Classes
    DotnetWrappable
  31. val epsilon: DoubleParam
  32. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  33. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  34. val errorTolerance: DoubleParam
  35. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  36. def explainParams(): String
    Definition Classes
    Params
  37. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  38. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  39. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  40. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  41. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  42. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  43. def getEpsilon: Double
  44. def getErrorTolerance: Double
  45. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  46. final def getOutputCol: String
    Definition Classes
    HasOutputCol
  47. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  48. def getParamInfo(p: Param[_]): ParamInfo[_]
    Definition Classes
    BaseWrappable
  49. def getSensitiveCols: Array[String]
    Definition Classes
    DataBalanceParams
  50. def getVerbose: Boolean
    Definition Classes
    DataBalanceParams
  51. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  52. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  53. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  54. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  55. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  57. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  58. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  59. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  60. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  61. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  62. def logClass(): Unit
    Definition Classes
    BasicLogging
  63. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  64. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  65. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  67. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  68. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  69. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  70. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  71. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  72. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  73. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  74. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  75. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  76. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  77. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  78. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  79. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  80. def makeDotnetFile(conf: CodegenConfig): Unit
    Definition Classes
    DotnetWrappable
  81. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  82. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  83. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  84. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  85. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  86. final val outputCol: Param[String]
    Definition Classes
    HasOutputCol
  87. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  88. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  89. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  90. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  91. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  92. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  93. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  94. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  95. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    PythonWrappable
  96. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  97. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  98. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  99. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  100. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  101. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  102. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  103. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  104. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  105. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  106. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  107. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  108. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  109. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  110. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  111. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  112. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  113. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  114. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  115. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  116. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  117. val sensitiveCols: StringArrayParam
    Definition Classes
    DataBalanceParams
  118. final def set(paramPair: ParamPair[_]): AggregateBalanceMeasure.this.type
    Attributes
    protected
    Definition Classes
    Params
  119. final def set(param: String, value: Any): AggregateBalanceMeasure.this.type
    Attributes
    protected
    Definition Classes
    Params
  120. final def set[T](param: Param[T], value: T): AggregateBalanceMeasure.this.type
    Definition Classes
    Params
  121. final def setDefault(paramPairs: ParamPair[_]*): AggregateBalanceMeasure.this.type
    Attributes
    protected
    Definition Classes
    Params
  122. final def setDefault[T](param: Param[T], value: T): AggregateBalanceMeasure.this.type
    Attributes
    protected
    Definition Classes
    Params
  123. def setEpsilon(value: Double): AggregateBalanceMeasure.this.type
  124. def setErrorTolerance(value: Double): AggregateBalanceMeasure.this.type
  125. def setOutputCol(value: String): AggregateBalanceMeasure.this.type
    Definition Classes
    DataBalanceParams
  126. def setSensitiveCols(values: Array[String]): AggregateBalanceMeasure.this.type
    Definition Classes
    DataBalanceParams
  127. def setVerbose(value: Boolean): AggregateBalanceMeasure.this.type
    Definition Classes
    DataBalanceParams
  128. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  129. val thisStage: Params
    Attributes
    protected
    Definition Classes
    BaseWrappable
  130. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  131. def transform(dataset: Dataset[_]): DataFrame
    Definition Classes
    AggregateBalanceMeasure → Transformer
  132. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  133. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  134. def transformSchema(schema: StructType): StructType
    Definition Classes
    AggregateBalanceMeasure → PipelineStage
  135. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  136. val uid: String
    Definition Classes
    AggregateBalanceMeasureBasicLogging → Identifiable
  137. def validateSchema(schema: StructType): Unit
    Definition Classes
    DataBalanceParams
  138. val ver: String
    Definition Classes
    BasicLogging
  139. val verbose: BooleanParam
    Definition Classes
    DataBalanceParams
  140. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  141. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  142. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  143. def write: MLWriter
    Definition Classes
    ComplexParamsWritable → MLWritable

Inherited from BasicLogging

Inherited from Wrappable

Inherited from DotnetWrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from ComplexParamsWritable

Inherited from MLWritable

Inherited from DataBalanceParams

Inherited from HasOutputCol

Inherited from Transformer

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

Ungrouped