Packages

class IndexToValue extends Transformer with HasInputCol with HasOutputCol with Wrappable with DefaultParamsWritable with BasicLogging

This class takes in a categorical column with MML style attributes and then transforms it back to the original values. This extends sparkML IndexToString by allowing the transformation back to any types of values.

Linear Supertypes
BasicLogging, DefaultParamsWritable, MLWritable, Wrappable, RWrappable, PythonWrappable, BaseWrappable, HasOutputCol, HasInputCol, Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IndexToValue
  2. BasicLogging
  3. DefaultParamsWritable
  4. MLWritable
  5. Wrappable
  6. RWrappable
  7. PythonWrappable
  8. BaseWrappable
  9. HasOutputCol
  10. HasInputCol
  11. Transformer
  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 IndexToValue()
  2. new IndexToValue(uid: String)

Value Members

  1. final def clear(param: Param[_]): IndexToValue.this.type
    Definition Classes
    Params
  2. def copy(extra: ParamMap): IndexToValue.this.type
    Definition Classes
    IndexToValue → Transformer → PipelineStage → Params
  3. def explainParam(param: Param[_]): String
    Definition Classes
    Params
  4. def explainParams(): String
    Definition Classes
    Params
  5. final def extractParamMap(): ParamMap
    Definition Classes
    Params
  6. final def extractParamMap(extra: ParamMap): ParamMap
    Definition Classes
    Params
  7. final def get[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  8. final def getDefault[T](param: Param[T]): Option[T]
    Definition Classes
    Params
  9. def getInputCol: String

    Definition Classes
    HasInputCol
  10. def getLevelUDF[T](dataset: Dataset[_])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], ct: ClassTag[T]): UserDefinedFunction
  11. final def getOrDefault[T](param: Param[T]): T
    Definition Classes
    Params
  12. def getOutputCol: String

    Definition Classes
    HasOutputCol
  13. def getParam(paramName: String): Param[Any]
    Definition Classes
    Params
  14. final def hasDefault[T](param: Param[T]): Boolean
    Definition Classes
    Params
  15. def hasParam(paramName: String): Boolean
    Definition Classes
    Params
  16. val inputCol: Param[String]

    The name of the input column

    The name of the input column

    Definition Classes
    HasInputCol
  17. final def isDefined(param: Param[_]): Boolean
    Definition Classes
    Params
  18. final def isSet(param: Param[_]): Boolean
    Definition Classes
    Params
  19. def logClass(): Unit
    Definition Classes
    BasicLogging
  20. def logFit[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  21. def logPredict[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  22. def logTrain[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  23. def logTransform[T](f: ⇒ T): T
    Definition Classes
    BasicLogging
  24. def logVerb[T](verb: String, f: ⇒ T): T
    Definition Classes
    BasicLogging
  25. def makePyFile(conf: CodegenConfig): Unit
    Definition Classes
    PythonWrappable
  26. def makeRFile(conf: CodegenConfig): Unit
    Definition Classes
    RWrappable
  27. val outputCol: Param[String]

    The name of the output column

    The name of the output column

    Definition Classes
    HasOutputCol
  28. lazy val params: Array[Param[_]]
    Definition Classes
    Params
  29. def pyAdditionalMethods: String
    Definition Classes
    PythonWrappable
  30. def pyInitFunc(): String
    Definition Classes
    PythonWrappable
  31. def save(path: String): Unit
    Definition Classes
    MLWritable
    Annotations
    @Since( "1.6.0" ) @throws( ... )
  32. final def set[T](param: Param[T], value: T): IndexToValue.this.type
    Definition Classes
    Params
  33. def setInputCol(value: String): IndexToValue.this.type

    Definition Classes
    HasInputCol
  34. def setOutputCol(value: String): IndexToValue.this.type

    Definition Classes
    HasOutputCol
  35. def toString(): String
    Definition Classes
    Identifiable → AnyRef → Any
  36. def transform(dataset: Dataset[_]): DataFrame

    dataset

    - The input dataset, to be transformed

    returns

    The DataFrame that results from column selection

    Definition Classes
    IndexToValue → Transformer
  37. def transform(dataset: Dataset[_], paramMap: ParamMap): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" )
  38. def transform(dataset: Dataset[_], firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame
    Definition Classes
    Transformer
    Annotations
    @Since( "2.0.0" ) @varargs()
  39. def transformSchema(schema: StructType): StructType
    Definition Classes
    IndexToValue → PipelineStage
  40. val uid: String
    Definition Classes
    IndexToValueBasicLogging → Identifiable
  41. val ver: String
    Definition Classes
    BasicLogging
  42. def write: MLWriter
    Definition Classes
    DefaultParamsWritable → MLWritable