Packages

class CleanMissingData extends Estimator[CleanMissingDataModel] with HasInputCols with HasOutputCols with Wrappable with DefaultParamsWritable with BasicLogging

Removes missing values from input dataset. The following modes are supported: Mean - replaces missings with mean of fit column Median - replaces missings with approximate median of fit column Custom - replaces missings with custom value specified by user For mean and median modes, only numeric column types are supported, specifically: Int, Long, Float, Double For custom mode, the types above are supported and additionally: String, Boolean

Linear Supertypes
BasicLogging, DefaultParamsWritable, MLWritable, Wrappable, RWrappable, PythonWrappable, BaseWrappable, HasOutputCols, HasInputCols, Estimator[CleanMissingDataModel], PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CleanMissingData
  2. BasicLogging
  3. DefaultParamsWritable
  4. MLWritable
  5. Wrappable
  6. RWrappable
  7. PythonWrappable
  8. BaseWrappable
  9. HasOutputCols
  10. HasInputCols
  11. Estimator
  12. PipelineStage
  13. Logging
  14. Params
  15. Serializable
  16. Serializable
  17. Identifiable
  18. AnyRef
  19. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

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

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. val cleaningMode: Param[String]
  8. final def clear(param: Param[_]): CleanMissingData.this.type
    Definition Classes
    Params
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. def companionModelClassName: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  11. def copy(extra: ParamMap): Estimator[CleanMissingDataModel]
    Definition Classes
    CleanMissingData → Estimator → PipelineStage → Params
  12. def copyValues[T <: Params](to: T, extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  13. lazy val copyrightLines: String
    Attributes
    protected
    Definition Classes
    BaseWrappable
  14. val customValue: Param[String]

    Custom value for imputation, supports numeric, string and boolean types.

    Custom value for imputation, supports numeric, string and boolean types. Date and Timestamp currently not supported.

  15. final def defaultCopy[T <: Params](extra: ParamMap): T
    Attributes
    protected
    Definition Classes
    Params
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  19. def explainParams(): String
    Definition Classes
    Params
  20. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  21. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def fit(dataset: Dataset[_]): CleanMissingDataModel

    Fits the dataset, prepares the transformation function.

    Fits the dataset, prepares the transformation function.

    dataset

    The input dataset.

    returns

    The model for removing missings.

    Definition Classes
    CleanMissingData → Estimator
  24. def fit(dataset: Dataset[_], paramMaps: Seq[ParamMap]): Seq[CleanMissingDataModel]
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  25. def fit(dataset: Dataset[_], paramMap: ParamMap): CleanMissingDataModel
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  26. def fit(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): CleanMissingDataModel
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" ) @varargs()
  27. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  28. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  29. def getCleaningMode: String
  30. def getCustomValue: String
  31. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  32. def getInputCols: Array[String]

    Definition Classes
    HasInputCols
  33. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  34. def getOutputCols: Array[String]

    Definition Classes
    HasOutputCols
  35. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  36. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  37. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  38. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  39. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  40. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  41. val inputCols: StringArrayParam

    The names of the inputColumns

    The names of the inputColumns

    Definition Classes
    HasInputCols
  42. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  43. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  44. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  45. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  46. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  47. def logBase(methodName: String): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  48. def logClass(): Unit
    Definition Classes
    BasicLogging
  49. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  50. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  51. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  52. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  53. def logErrorBase(methodName: String, e: Exception): Unit
    Attributes
    protected
    Definition Classes
    BasicLogging
  54. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  55. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  56. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  57. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  58. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  59. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  60. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  61. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  62. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  63. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  64. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  65. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  66. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  67. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  68. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  69. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  70. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  71. val outputCols: StringArrayParam

    The names of the output columns

    The names of the output columns

    Definition Classes
    HasOutputCols
  72. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  73. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  74. lazy val pyClassDoc: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  75. lazy val pyClassName: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  76. def pyExtraEstimatorImports: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  77. def pyExtraEstimatorMethods: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  78. lazy val pyInheritedClasses: Seq[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  79. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  80. lazy val pyInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    PythonWrappable
  81. lazy val pyObjectBaseClass: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  82. def pyParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  83. def pyParamDefault[T](p: Param[T]): Option[String]
    Attributes
    protected
    Definition Classes
    PythonWrappable
  84. def pyParamGetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  85. def pyParamSetter(p: Param[_]): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  86. def pyParamsArgs: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  87. def pyParamsDefaults: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  88. lazy val pyParamsDefinitions: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  89. def pyParamsGetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  90. def pyParamsSetters: String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  91. def pythonClass(): String
    Attributes
    protected
    Definition Classes
    PythonWrappable
  92. def rClass(): String
    Attributes
    protected
    Definition Classes
    RWrappable
  93. def rDocString: String
    Attributes
    protected
    Definition Classes
    RWrappable
  94. def rExtraBodyLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  95. def rExtraInitLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  96. lazy val rFuncName: String
    Attributes
    protected
    Definition Classes
    RWrappable
  97. lazy val rInternalWrapper: Boolean
    Attributes
    protected
    Definition Classes
    RWrappable
  98. def rParamArg[T](p: Param[T]): String
    Attributes
    protected
    Definition Classes
    RWrappable
  99. def rParamsArgs: String
    Attributes
    protected
    Definition Classes
    RWrappable
  100. def rSetterLines: String
    Attributes
    protected
    Definition Classes
    RWrappable
  101. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  102. final def set(paramPair: ParamPair[_]): CleanMissingData.this.type
    Attributes
    protected
    Definition Classes
    Params
  103. final def set(param: String, value: Any): CleanMissingData.this.type
    Attributes
    protected
    Definition Classes
    Params
  104. final def set[T](param: Param[T], value: T): CleanMissingData.this.type
    Definition Classes
    Params
  105. def setCleaningMode(value: String): CleanMissingData.this.type
  106. def setCustomValue(value: String): CleanMissingData.this.type
  107. final def setDefault(paramPairs: ParamPair[_]*): CleanMissingData.this.type
    Attributes
    protected
    Definition Classes
    Params
  108. final def setDefault[T](param: Param[T], value: T): CleanMissingData.this.type
    Attributes
    protected
    Definition Classes
    Params
  109. def setInputCols(value: Array[String]): CleanMissingData.this.type

    Definition Classes
    HasInputCols
  110. def setOutputCols(value: Array[String]): CleanMissingData.this.type

    Definition Classes
    HasOutputCols
  111. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  112. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  113. def transformSchema(schema: StructType): StructType
    Definition Classes
    CleanMissingData → PipelineStage
    Annotations
    @DeveloperApi()
  114. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  115. val uid: String
    Definition Classes
    CleanMissingDataBasicLogging → Identifiable
  116. val ver: String
    Definition Classes
    BasicLogging
  117. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  118. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  119. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  120. def write: MLWriter
    Definition Classes
    DefaultParamsWritable → MLWritable

Inherited from BasicLogging

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from Wrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from HasOutputCols

Inherited from HasInputCols

Inherited from Estimator[CleanMissingDataModel]

Inherited from PipelineStage

Inherited from Logging

Inherited from Params

Inherited from Serializable

Inherited from Serializable

Inherited from Identifiable

Inherited from AnyRef

Inherited from Any

getParam

param

setParam

Ungrouped