org.apache.spark.ml.odkl

NameAssigner

class NameAssigner extends Transformer with HasInputCols

Assuming there is a metadata attached to a integer field can be used to replace ints with corresponding attribute names. Used, for example in the validation pipeline to avoid attaching large strings to the validation results (eg. score/label descriptions) before the very end.

Linear Supertypes
HasInputCols, Transformer, PipelineStage, Logging, Params, Serializable, Serializable, Identifiable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NameAssigner
  2. HasInputCols
  3. Transformer
  4. PipelineStage
  5. Logging
  6. Params
  7. Serializable
  8. Serializable
  9. Identifiable
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NameAssigner()

  2. new NameAssigner(uid: String)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def $[T](param: Param[T]): T

    Attributes
    protected
    Definition Classes
    Params
  5. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. final def clear(param: Param[_]): NameAssigner.this.type

    Definition Classes
    Params
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def copy(extra: ParamMap): Transformer

    Definition Classes
    NameAssigner → Transformer → PipelineStage → Params
  11. def copyValues[T <: Params](to: T, extra: ParamMap): T

    Attributes
    protected
    Definition Classes
    Params
  12. final def defaultCopy[T <: Params](extra: ParamMap): T

    Attributes
    protected
    Definition Classes
    Params
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def explainParam(param: Param[_]): String

    Definition Classes
    Params
  16. def explainParams(): String

    Definition Classes
    Params
  17. final def extractParamMap(): ParamMap

    Definition Classes
    Params
  18. final def extractParamMap(extra: ParamMap): ParamMap

    Definition Classes
    Params
  19. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def get[T](param: Param[T]): Option[T]

    Definition Classes
    Params
  21. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  22. final def getDefault[T](param: Param[T]): Option[T]

    Definition Classes
    Params
  23. final def getInputCols: Array[String]

    Definition Classes
    HasInputCols
  24. final def getOrDefault[T](param: Param[T]): T

    Definition Classes
    Params
  25. def getParam(paramName: String): Param[Any]

    Definition Classes
    Params
  26. final def hasDefault[T](param: Param[T]): Boolean

    Definition Classes
    Params
  27. def hasParam(paramName: String): Boolean

    Definition Classes
    Params
  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. final val inputCols: StringArrayParam

    Definition Classes
    HasInputCols
  30. final def isDefined(param: Param[_]): Boolean

    Definition Classes
    Params
  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. final def isSet(param: Param[_]): Boolean

    Definition Classes
    Params
  33. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  34. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  35. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  36. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  37. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  38. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  39. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  40. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  41. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  42. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  43. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  44. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  45. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  46. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  47. final def notify(): Unit

    Definition Classes
    AnyRef
  48. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  49. lazy val params: Array[Param[_]]

    Definition Classes
    Params
  50. final def set(paramPair: ParamPair[_]): NameAssigner.this.type

    Attributes
    protected
    Definition Classes
    Params
  51. final def set(param: String, value: Any): NameAssigner.this.type

    Attributes
    protected
    Definition Classes
    Params
  52. final def set[T](param: Param[T], value: T): NameAssigner.this.type

    Definition Classes
    Params
  53. final def setDefault(paramPairs: ParamPair[_]*): NameAssigner.this.type

    Attributes
    protected
    Definition Classes
    Params
  54. final def setDefault[T](param: Param[T], value: T): NameAssigner.this.type

    Attributes
    protected
    Definition Classes
    Params
  55. def setInputCols(column: String*): NameAssigner.this.type

  56. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  57. def toString(): String

    Definition Classes
    Identifiable → AnyRef → Any
  58. def transform(dataset: DataFrame): DataFrame

    Definition Classes
    NameAssigner → Transformer
  59. def transform(dataset: DataFrame, paramMap: ParamMap): DataFrame

    Definition Classes
    Transformer
  60. def transform(dataset: DataFrame, firstParamPair: ParamPair[_], otherParamPairs: ParamPair[_]*): DataFrame

    Definition Classes
    Transformer
    Annotations
    @varargs()
  61. def transformSchema(schema: StructType): StructType

    Definition Classes
    NameAssigner → PipelineStage
    Annotations
    @DeveloperApi()
  62. def transformSchema(schema: StructType, logging: Boolean): StructType

    Attributes
    protected
    Definition Classes
    PipelineStage
    Annotations
    @DeveloperApi()
  63. val uid: String

    Definition Classes
    NameAssigner → Identifiable
  64. def validateParams(): Unit

    Definition Classes
    Params
  65. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from HasInputCols

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