Packages

class ValueIndexer extends Estimator[ValueIndexerModel] with ValueIndexerParams with BasicLogging

Fits a dictionary of values from the input column. Model then transforms a column to a categorical column of the given array of values. Similar to StringIndexer except it can be used on any value types.

Linear Supertypes
BasicLogging, ValueIndexerParams, HasOutputCol, HasInputCol, DefaultParamsWritable, MLWritable, Wrappable, RWrappable, PythonWrappable, BaseWrappable, Estimator[ValueIndexerModel], PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ValueIndexer
  2. BasicLogging
  3. ValueIndexerParams
  4. HasOutputCol
  5. HasInputCol
  6. DefaultParamsWritable
  7. MLWritable
  8. Wrappable
  9. RWrappable
  10. PythonWrappable
  11. BaseWrappable
  12. Estimator
  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 ValueIndexer()
  2. new ValueIndexer(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. final def clear(param: Param[_]): ValueIndexer.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): Estimator[ValueIndexerModel]
    Definition Classes
    ValueIndexer → Estimator → 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. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  16. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  17. def explainParams(): String
    Definition Classes
    Params
  18. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  19. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def fit(dataset: Dataset[_]): ValueIndexerModel

    Fits the dictionary of values from the input column.

    Fits the dictionary of values from the input column.

    dataset

    The input dataset to train.

    returns

    The model for transforming columns to categorical.

    Definition Classes
    ValueIndexer → Estimator
  22. def fit(dataset: Dataset[_], paramMaps: Seq[ParamMap]): Seq[ValueIndexerModel]
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  23. def fit(dataset: Dataset[_], paramMap: ParamMap): ValueIndexerModel
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" )
  24. def fit(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): ValueIndexerModel
    Definition Classes
    Estimator
    Annotations
    @Since( "2.0.0" ) @varargs()
  25. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  28. def getInputCol: String

    Definition Classes
    HasInputCol
  29. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  30. def getOutputCol: String

    Definition Classes
    HasOutputCol
  31. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  32. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  33. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  34. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  35. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  36. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  37. val inputCol: Param[String]

    The name of the input column

    The name of the input column

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

    The name of the output column

    The name of the output column

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

    Definition Classes
    HasInputCol
  104. def setOutputCol(value: String): ValueIndexer.this.type

    Definition Classes
    HasOutputCol
  105. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  106. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  107. def transformSchema(schema: StructType): StructType
    Definition Classes
    ValueIndexer → PipelineStage
    Annotations
    @DeveloperApi()
  108. def transformSchema(schema: StructType, logging: Boolean): StructType
    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  109. val uid: String
    Definition Classes
    ValueIndexerBasicLogging → Identifiable
  110. val ver: String
    Definition Classes
    BasicLogging
  111. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  112. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  113. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  114. def write: MLWriter
    Definition Classes
    DefaultParamsWritable → MLWritable

Inherited from BasicLogging

Inherited from ValueIndexerParams

Inherited from HasOutputCol

Inherited from HasInputCol

Inherited from DefaultParamsWritable

Inherited from MLWritable

Inherited from Wrappable

Inherited from RWrappable

Inherited from PythonWrappable

Inherited from BaseWrappable

Inherited from Estimator[ValueIndexerModel]

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